diff --git a/server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java b/server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java index c38f426dbfb59..79e5cf7489ca3 100644 --- a/server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java +++ b/server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java @@ -2369,7 +2369,7 @@ public void testIndexWriterInfoStream() throws IllegalAccessException, IOExcepti engine.index(indexForDoc(doc)); engine.flush(); assertTrue(mockAppender.sawIndexWriterMessage); - + engine.close(); } finally { Loggers.removeAppender(rootLogger, mockAppender); mockAppender.stop();