[TEST] Wait for test thread to join before

This commit is contained in:
Simon Willnauer 2015-07-07 07:24:14 +02:00
parent 7ec6dc9956
commit 9e196c3a0b
1 changed files with 1 additions and 0 deletions

View File

@ -991,6 +991,7 @@ public class InternalEngineTests extends ElasticsearchTestCase {
}
indexed.await();
IOUtils.close(engine);
thread.join();
}
}