Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2255

Intermittent test failure in StatsTest

    XMLWordPrintableJSON

Details

    Description

      There's an intermittent test failure in org.apache.servicemix.examples.akka.StatsTest#testCountAverageAndStddev

      java.lang.AssertionError: Did not receive reporting containing ITEM1,2,15.0000,4.8990
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:58)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:59)
      	at org.apache.servicemix.examples.akka.StatsTest.expectReport(StatsTest.scala:54)
      	at org.apache.servicemix.examples.akka.StatsTest.testCountAverageAndStddev(StatsTest.scala:48)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
      	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
      

      Attachments

        1. mac_osx_maven_build_error.txt
          8 kB
          Cristiano Costantini

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: