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 <[email protected]> Authored: Wed Oct 25 17:17:21 2017 +0900 Committer: Akira Ajisaka <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
