[
https://issues.apache.org/jira/browse/SM-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037419#comment-14037419
]
Krzysztof Sobkowiak commented on SM-2255:
-----------------------------------------
I have never reproduced the problem on my Linux machine but it's 100%
reproducible on Windows 7 machine.We had some times problems which existed on
Windows machine and didn't exist on Linux or vice versa. This was caused by
different order of several things (something was sorted with other order on
Linux and with other order on Windows)
I don't know the test case, but perhaps something is ordered in another way on
different systems.
> Intermittent test failure in StatsTest
> --------------------------------------
>
> Key: SM-2255
> URL: https://issues.apache.org/jira/browse/SM-2255
> Project: ServiceMix
> Issue Type: Test
> Components: akka
> Affects Versions: 5.0.0
> Reporter: Gert Vanthienen
> Labels: test-fail
> Fix For: 5.0.3
>
> Attachments: mac_osx_maven_build_error.txt
>
>
> There's an intermittent test failure in
> {{org.apache.servicemix.examples.akka.StatsTest#testCountAverageAndStddev}}
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)