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

TestRouterWebServiceUtil#testMergeMetrics is flakey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 2.9.0, 3.0.0, 3.1.0
    • federation
    • None
    • 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

        1. YARN-7341.001.patch
          5 kB
          Robert Kanter

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: