Peter Szucs created YARN-11822:
----------------------------------

             Summary: Fix flaky unit test in TestFederationProtocolRecords
                 Key: YARN-11822
                 URL: https://issues.apache.org/jira/browse/YARN-11822
             Project: Hadoop YARN
          Issue Type: Task
            Reporter: Peter Szucs
            Assignee: Peter Szucs


TestFederationProtocolRecords.testSubClusterInfoEqual unit test fails 
intermittently on the rebase feature branch.

It looks like a test issue that can be easily fixed: the test compares the 
results of two sequentially called Time.now() method in the SubClusterInfo, and 
expects to be equal. Using a variable that stores the current time should solve 
this issue



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to