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:07 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk d7f3737f3 -> 4c970088a


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


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

Branch: refs/heads/trunk
Commit: 4c970088afefe5395c18c6715c7b27e6c0358c96
Parents: d7f3737
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:17:21 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/4c970088/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