zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From af...@apache.org
Subject zookeeper git commit: ZOOKEEPER-2981: Fix build on branch-3.5
Date Wed, 14 Feb 2018 20:04:43 GMT
Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.5 5ae5f1076 -> bcd6cae87


ZOOKEEPER-2981: Fix build on branch-3.5

afine This PR is a fix for branch-3.5 builds. Please take this as high priority.

Author: Andor Molnar <andor@cloudera.com>

Reviewers: Mark Fenes <mfenes@cloudera.com>, Abraham Fine <afine@apache.org>

Closes #463 from anmolnar/ZOOKEEPER-2939_3.5


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/bcd6cae8
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/bcd6cae8
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/bcd6cae8

Branch: refs/heads/branch-3.5
Commit: bcd6cae87990e453574e96d6d6123d9f37db75fc
Parents: 5ae5f10
Author: Andor Molnar <andor@cloudera.com>
Authored: Wed Feb 14 10:59:38 2018 -0800
Committer: Abraham Fine <afine@apache.org>
Committed: Wed Feb 14 10:59:38 2018 -0800

----------------------------------------------------------------------
 .../test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/bcd6cae8/src/java/test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java
----------------------------------------------------------------------
diff --git a/src/java/test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java b/src/java/test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java
index c30541c..f8108cd 100644
--- a/src/java/test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java
+++ b/src/java/test/org/apache/zookeeper/server/quorum/LeaderBeanTest.java
@@ -55,7 +55,7 @@ public class LeaderBeanTest {
         qp = new QuorumPeer();
         QuorumVerifier quorumVerifierMock = mock(QuorumVerifier.class);
         qp.setQuorumVerifier(quorumVerifierMock, false);
-        File tmpDir = ClientBase.createEmptyTestDir();
+        File tmpDir = ClientBase.createTmpDir();
         fileTxnSnapLog = new FileTxnSnapLog(new File(tmpDir, "data"),
                 new File(tmpDir, "data_txnlog"));
         ZKDatabase zkDb = new ZKDatabase(fileTxnSnapLog);


Mime
View raw message