YARN-9009 Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs

This commit is contained in:
OrDTesters 2018-11-11 20:25:21 -06:00
parent b5ec85d966
commit db8e046352
1 changed files with 4 additions and 2 deletions

View File

@ -234,6 +234,8 @@ public class TestEntityGroupFSTimelineStore extends TimelineStoreTestUtils {
Path pathAfter = appLogs.getAppDirPath();
assertNotEquals(pathBefore, pathAfter);
assertTrue(pathAfter.toString().contains(testDoneDirPath.toString()));
fs.delete(pathAfter, true);
}
@Test