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

TestRMEmbeddedElector#testCallbackSynchronization is flakey

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 2.9.1, 2.8.4, 3.0.2, 3.2.0, 3.1.1
    • 2.10.0, 3.2.0, 2.9.2, 2.8.5, 3.0.4, 3.1.2
    • test
    • None

    Description

      We've seen some rare flakey failures in TestRMEmbeddedElector#testCallbackSynchronization:

      org.mockito.exceptions.verification.WantedButNotInvoked: 
      
      Wanted but not invoked:
      adminService.transitionToStandby(<any>);
      -> at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronizationNeutral(TestRMEmbeddedElector.java:215)
      Actually, there were zero interactions with this mock.
      
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronizationNeutral(TestRMEmbeddedElector.java:215)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronization(TestRMEmbeddedElector.java:146)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMEmbeddedElector.testCallbackSynchronization(TestRMEmbeddedElector.java:109)
      

      Attachments

        1. YARN-8051.001.patch
          9 kB
          Robert Kanter
        2. YARN-8051.002.patch
          9 kB
          Robert Kanter
        3. YARN-8051-branch-2.002.patch
          10 kB
          Jason Darrell Lowe

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: