mirror of https://github.com/apache/lucene.git
SOLR-8253: Ensure ZK server is always shutdown in AbstractDistribZkTestBase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f12cb52a3b
commit
ccfdb5dce2
|
@ -457,6 +457,9 @@ Other Changes
|
|||
|
||||
* SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated. (hossman)
|
||||
|
||||
* SOLR-8253: AbstractDistribZkTestBase can sometimes fail to shut down its
|
||||
ZKServer (Alan Woodward)
|
||||
|
||||
================== 5.3.1 ==================
|
||||
|
||||
Bug Fixes
|
||||
|
|
|
@ -268,8 +268,12 @@ public abstract class AbstractDistribZkTestBase extends BaseDistributedSearchTes
|
|||
System.clearProperty(MockDirectoryFactory.SOLR_TESTS_ALLOW_READING_FILES_STILL_OPEN_FOR_WRITE);
|
||||
|
||||
resetExceptionIgnores();
|
||||
super.distribTearDown();
|
||||
zkServer.shutdown();
|
||||
try {
|
||||
super.distribTearDown();
|
||||
}
|
||||
finally {
|
||||
zkServer.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
protected void printLayout() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue