diff --git a/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java b/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java index f17aaa99430..23008349252 100644 --- a/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java +++ b/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java @@ -90,6 +90,7 @@ public class MockFSDirectoryService extends FsDirectoryService { .type(Engine.Flush.Type.COMMIT) // Keep translog for tests that rely on replaying it .waitIfOngoing(true) ); + logger.info("flush finished in beforeIndexShardClosed"); } } }