Test: testRelocationWithBusyClusterUpdateThread - CountDownLatch.countDown should be await
This commit is contained in:
parent
45ecb49a09
commit
487ef80c35
|
@ -521,7 +521,7 @@ public class RelocationTests extends ElasticsearchIntegrationTest {
|
|||
logger.info("--> waiting for node1 to process replica existence");
|
||||
allReplicasAssigned.await();
|
||||
logger.info("--> waiting for recovery to fail");
|
||||
unassignedShardsAfterReplicasAssigned.countDown();
|
||||
unassignedShardsAfterReplicasAssigned.await();
|
||||
} finally {
|
||||
logger.info("--> releasing cluster state update thread");
|
||||
releaseClusterState.countDown();
|
||||
|
|
Loading…
Reference in New Issue