mirror of https://github.com/apache/lucene.git
SOLR-4012 LeaderIntegrationTest sometimes hangs - ensure unique zk data dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a71167078
commit
7047994203
|
@ -82,7 +82,7 @@ public class LeaderElectionIntegrationTest extends SolrTestCaseJ4 {
|
|||
System.setProperty("zkClientTimeout", "3000");
|
||||
|
||||
zkDir = dataDir.getAbsolutePath() + File.separator
|
||||
+ "zookeeper/server1/data";
|
||||
+ "zookeeper" + System.currentTimeMillis() + "/server1/data";
|
||||
zkServer = new ZkTestServer(zkDir);
|
||||
zkServer.run();
|
||||
System.setProperty("zkHost", zkServer.getZkAddress());
|
||||
|
|
Loading…
Reference in New Issue