hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-14030. PreCommit TestKDiag failure. Contributed by Wei-Chiu Chuang.
Date Wed, 25 Oct 2017 08:18:55 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 f3409e71d -> 79ea3e8ea


HADOOP-14030. PreCommit TestKDiag failure. Contributed by Wei-Chiu Chuang.

(cherry picked from commit 4c970088afefe5395c18c6715c7b27e6c0358c96)


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

Branch: refs/heads/branch-3.0
Commit: 79ea3e8ea7ef9bc84a9cd2cdb3ced30ae7e30647
Parents: f3409e7
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Wed Oct 25 17:17:21 2017 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Wed Oct 25 17:18:49 2017 +0900

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/security/TestKDiag.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/79ea3e8e/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestKDiag.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestKDiag.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestKDiag.java
index b81c4c5..e395566 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestKDiag.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestKDiag.java
@@ -67,7 +67,7 @@ public class TestKDiag extends Assert {
 
   @BeforeClass
   public static void startMiniKdc() throws Exception {
-    workDir = new File(System.getProperty("test.dir", "target"));
+    workDir = GenericTestUtils.getTestDir(TestKDiag.class.getSimpleName());
     securityProperties = MiniKdc.createConf();
     kdc = new MiniKdc(securityProperties, workDir);
     kdc.start();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message