Skip to content

Commit

Permalink
assertNotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryam committed Sep 2, 2015
1 parent d6bae58 commit d33f7db
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,7 @@ public void testPostIndexWithException() throws IOException {
shardIndexingService.addListener(new IndexingOperationListener() {
@Override
public void postIndex(Engine.Index index, Throwable ex) {
if (ex == null){
fail();
}
assertNotNull(ex);
postIndexWithExceptionCalled.set(true);
super.postIndex(index, ex);
}
Expand Down

0 comments on commit d33f7db

Please sign in to comment.