Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart fails randomly because of a race condition.
The test validates that metrics are incremented, but does not wait for all transitions to finish before checking for the values.
It also resets metrics after kicking off recovery of second RM. The metrics that need to be incremented race with this reset causing test to fail randomly.
We need to wait for the right transitions.
Attachments
Attachments
Issue Links
- is related to
-
YARN-5037 TestRMRestart#testQueueMetricsOnRMRestart random failure
- Resolved