HADOOP-14030. PreCommit TestKDiag failure. Contributed by Wei-Chiu Chuang.
This commit is contained in:
parent
d7f3737f3b
commit
4c970088af
|
@ -67,7 +67,7 @@ public class TestKDiag extends Assert {
|
||||||
|
|
||||||
@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();
|
||||||
|
|
Loading…
Reference in New Issue