Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10061

TestMetricsSystemImpl#testInitFirstVerifyStopInvokedImmediately failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
      None
    • Target Version/s:

      Description

      TestMetricsSystemImpl#testInitFirstVerifyStopInvokedImmediately failed with "Wanted at most 2 times but was 3"

      1 tests failed.
      REGRESSION:  org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testInitFirstVerifyStopInvokedImmediately
      
      Error Message:
       Wanted at most 2 times but was 3
      
      Stack Trace:
      org.mockito.exceptions.base.MockitoAssertionError:
      Wanted at most 2 times but was 3
              at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testInitFirstVerifyStopInvokedImmediately(TestMetricsSystemImpl.java:114)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cmccabe Colin McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: