GitHub user OrDTesters opened a pull request:
https://github.com/apache/hadoop/pull/438
YARN-9009: Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs
In TestEntityGroupFSTimelineStore, testCleanLogs fails when run after
testMoveToDone.
This is because testMoveToDone moves a file into the same directory that
testCleanLogs cleans, causing testCleanLogs to clean 3 files, instead of 2 as
it expects.
To fix this, we can delete the file after it is moved by testMoveToDone.
Link to issue: [YARN-9009](https://issues.apache.org/jira/browse/YARN-9009)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/OrDTesters/hadoop fix-flaky-testCleanLogs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/438.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #438
----
commit db8e046352b96ead63523cfe4dc7e22c6acdfec8
Author: OrDTesters <ordtesters@...>
Date: 2018-11-12T02:25:21Z
YARN-9009 Fix flaky test TestEntityGroupFSTimelineStore.testCleanLogs
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]