|
@@ -353,7 +353,7 @@ public class MergeWithFailureIT extends ESIntegTestCase {
|
|
ensureRed(indexName);
|
|
ensureRed(indexName);
|
|
|
|
|
|
// verify that the shard store is effectively closed
|
|
// verify that the shard store is effectively closed
|
|
- assertTrue(plugin.shardStoreClosedListener.isDone());
|
|
|
|
|
|
+ safeGet(plugin.shardStoreClosedListener);
|
|
|
|
|
|
if (closingThread != null) {
|
|
if (closingThread != null) {
|
|
closingThread.join();
|
|
closingThread.join();
|