use of org.apache.ignite.internal.processors.cache.persistence.StorageException in project ignite by apache.
the class IgniteWalFormatFileFailoverTest method checkCause.
/**
* @param t Throwable.
*/
private void checkCause(Throwable t) {
StorageException e = X.cause(t, StorageException.class);
assertNotNull(e);
assertNotNull(e.getMessage());
assertTrue(e.getMessage().contains("Failed to format WAL segment file"));
IOException ioe = X.cause(e, IOException.class);
assertNotNull(ioe);
assertNotNull(ioe.getMessage());
assertTrue(ioe.getMessage().contains("No space left on device"));
assertTrue(isCalledFrom(ioe.getStackTrace(), formatFile));
}
Aggregations