Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7341

TestRouterWebServiceUtil#testMergeMetrics is flakey

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: 2.9.0, 3.0.0, 3.1.0
    • Component/s: federation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestRouterWebServiceUtil#testMergeMetrics is flakey. It sometimes fails with something like:

      Running org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil
      Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil
      testMergeMetrics(org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil)  Time elapsed: 0.005 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<1092> but was:<584>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.yarn.server.router.webapp.TestRouterWebServiceUtil.testMergeMetrics(TestRouterWebServiceUtil.java:473)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: