tests: blockUntilFinished when stopping concurrent solrserver

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1538126 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-02 01:23:19 +00:00
parent f412b66a51
commit 1642dffa59
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
@Override
public void safeStop() {
stop = true;
suss.blockUntilFinished();
suss.shutdownNow();
httpClient.getConnectionManager().shutdown();
}