MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
432cd74c72
commit
e99a1e7767
|
@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs {
|
|||
Path rootLogDir = new Path("target", "logs");
|
||||
String suffix = "logs";
|
||||
Path logDir = new Path(rootLogDir, new Path(USER, suffix));
|
||||
fs.delete(logDir, true);
|
||||
Assert.assertFalse(fs.exists(logDir));
|
||||
fs.mkdirs(logDir);
|
||||
|
||||
// no files found
|
||||
|
|
Loading…
Reference in New Issue