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

TestMetricsSystemImpl#testInitFirstVerifyStopInvokedImmediately failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.3.0
    • None
    • metrics
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: