diff --git a/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java b/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java index afbffc57b9e..3b6201dce02 100644 --- a/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java @@ -334,6 +334,7 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase @Override public void safeStop() { stop = true; + suss.blockUntilFinished(); suss.shutdownNow(); httpClient.getConnectionManager().shutdown(); }