mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-28 16:09:10 +00:00
assertNotNull
This commit is contained in:
parent
d6bae589c8
commit
d33f7dba61
@ -667,9 +667,7 @@ public class IndexShardTests extends ESSingleNodeTestCase {
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user