This closes #1991
This commit is contained in:
commit
2feacd5d5d
|
@ -187,7 +187,7 @@ public abstract class AbstractSequentialFileFactory implements SequentialFileFac
|
|||
if (critialErrorListener != null) {
|
||||
critialErrorListener.onIOException(exception, message, file);
|
||||
} else {
|
||||
logger.warn("Critical IO Error Called. No Critical IO Error Handler Registered");
|
||||
logger.warn("Critical IO Error Called. No Critical IO Error Handler Registered::" + message + " at file " + file, exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ public abstract class AIOTestBase extends ActiveMQTestBase {
|
|||
|
||||
@Override
|
||||
public void onError(final int errorCode, final String errorMessage) {
|
||||
new Exception("Error called:: " + errorCode + " message::" + errorMessage).printStackTrace();
|
||||
errorCalled++;
|
||||
if (outputList != null) {
|
||||
outputList.add(order);
|
||||
|
|
|
@ -210,8 +210,8 @@ public class MultiThreadAsynchronousFileTest extends AIOTestBase {
|
|||
addData(libaio, buffer, callback);
|
||||
if (sync) {
|
||||
waitForLatch(latchFinishThread);
|
||||
assertEquals(0, callback.errorCalled);
|
||||
assertTrue(callback.doneCalled);
|
||||
assertFalse(callback.errorCalled != 0);
|
||||
}
|
||||
}
|
||||
if (!sync) {
|
||||
|
|
Loading…
Reference in New Issue