[ https://issues.apache.org/jira/browse/TUSCANY-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585038#action_12585038 ]
Mark Combellack commented on TUSCANY-2192: ------------------------------------------ Looking at the code, the key output is: Finished callCount = 99 This value should be 100. I think the problem is that the unit test is not well coded to handle the case where the build server is heavily loaded as it has a sleep of 2 seconds and expects all @OneWay operations to complete in this time. The test case needs to be updated to improve how it waits for all the @OneWay operations to complete. > iTest/OneWay has just failed on the Continuum server and has blocked the > build on the root > ------------------------------------------------------------------------------------------ > > Key: TUSCANY-2192 > URL: https://issues.apache.org/jira/browse/TUSCANY-2192 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Integration Tests > Affects Versions: Java-SCA-Next > Reporter: Mark Combellack > Assignee: Mark Combellack > Fix For: Java-SCA-Next > > > http://vmbuild.apache.org/continuum/buildResult.action?buildId=72567&projectId=277 > The Continuum build has failed in the Apache Tuscany SCA OneWay Integration > Tests > The error output is: > Apr 2, 2008 6:31:23 PM org.apache.tuscany.sca.http.jetty.JettyServer > addServletMapping > INFO: Added Servlet mapping: > http://vmbuild.apache.org:50976/OneWayServiceComponent > Finished callCount = 99 > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 45.584 sec > <<< FAILURE! > testOneWay(org.apache.tuscany.sca.itest.oneway.OneWayTestCase) Time elapsed: > 45.55 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<100> but was:<99> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:277) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:195) > at junit.framework.Assert.assertEquals(Assert.java:201) > at > org.apache.tuscany.sca.itest.oneway.OneWayTestCase.testOneWay(OneWayTestCase.java:73) > 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:585) > at > org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) > at > org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) > at > org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) > at > org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) > at > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75) > at > org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36) > at > org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) > at > org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) > 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:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879) > Results : > Failed tests: > testOneWay(org.apache.tuscany.sca.itest.oneway.OneWayTestCase) > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]