-
Notifications
You must be signed in to change notification settings - Fork 9.1k
YARN-11829. Make test directory unique to avoid locking after test cleanup #7755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's handle the folder deletion reliably.
...adoop/yarn/server/resourcemanager/scheduler/fair/converter/FSConfigConverterTestCommons.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1. Please run the unit test locally on Windows and post the logs.
Since you're modifying only the test, we needn't run the full CI.
🎊 +1 overall
This message was automatically generated. |
Adding test file for resourcemanager, the above error count is 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of PR
UTs in yarn-resourcemanager is failing with below error:
The above error shows up when all the UTs for class
TestFSConfigToCSConfigConverter
runs together as we are using same folder structure which is being created/deleted after every test case.The issue happens when the file handlers are not closed properly resulting in unsuccessful deletion of test directory.
How was this patch tested?
The patch was tested by running UTs in local.
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?