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:
Mark Robert Miller 2012-10-29 15:13:19 +00:00
parent 3a71167078
commit 7047994203
1 changed files with 1 additions and 1 deletions

View File

@ -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());