YARN-9009. Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs. Contributed by OrDTesters.
(cherry picked from commit 1c09a10e96
)
This commit is contained in:
parent
80ef3e7581
commit
d78234222d
|
@ -234,6 +234,8 @@ public class TestEntityGroupFSTimelineStore extends TimelineStoreTestUtils {
|
||||||
Path pathAfter = appLogs.getAppDirPath();
|
Path pathAfter = appLogs.getAppDirPath();
|
||||||
assertNotEquals(pathBefore, pathAfter);
|
assertNotEquals(pathBefore, pathAfter);
|
||||||
assertTrue(pathAfter.toString().contains(testDoneDirPath.toString()));
|
assertTrue(pathAfter.toString().contains(testDoneDirPath.toString()));
|
||||||
|
|
||||||
|
fs.delete(pathAfter, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue