mirror of
https://github.com/apache/lucene.git
synced 2025-02-18 16:06:32 +00:00
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:
parent
f412b66a51
commit
1642dffa59
@ -334,6 +334,7 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
|
|||||||
@Override
|
@Override
|
||||||
public void safeStop() {
|
public void safeStop() {
|
||||||
stop = true;
|
stop = true;
|
||||||
|
suss.blockUntilFinished();
|
||||||
suss.shutdownNow();
|
suss.shutdownNow();
|
||||||
httpClient.getConnectionManager().shutdown();
|
httpClient.getConnectionManager().shutdown();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user