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

This commit is contained in:
Akira Ajisaka 2017-10-25 17:17:21 +09:00
parent d7f3737f3b
commit 4c970088af
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -67,7 +67,7 @@ public static void nameThread() {
@BeforeClass @BeforeClass
public static void startMiniKdc() throws Exception { public static void startMiniKdc() throws Exception {
workDir = new File(System.getProperty("test.dir", "target")); workDir = GenericTestUtils.getTestDir(TestKDiag.class.getSimpleName());
securityProperties = MiniKdc.createConf(); securityProperties = MiniKdc.createConf();
kdc = new MiniKdc(securityProperties, workDir); kdc = new MiniKdc(securityProperties, workDir);
kdc.start(); kdc.start();