YARN-9009. Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs. Contributed by OrDTesters.

(cherry picked from commit 1c09a10e96)
This commit is contained in:
Weiwei Yang 2018-12-10 11:55:24 +08:00
parent 3ab6ea7aca
commit 2b3c3d2a32
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