HADOOP-14030. PreCommit TestKDiag failure. Contributed by Wei-Chiu Chuang.
(cherry picked from commit 4c970088af
)
This commit is contained in:
parent
f3409e71d9
commit
79ea3e8ea7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue