Raymond Feng wrote:
Hi,

I see the following failure with maven build. What's strange is that it works fine inside Eclipse. Increasing timeout didn't help.

Any clue?

Thanks,
Raymond

It builds successfully for me. I'll investigate the exception. Are others seeing the same error?


INFO: Added Servlet mapping: http://rfengt60p:8086/BHelloWorldServiceCallbackRem
ote
Sleeping ...
... Done
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.234 sec <<< FA
ILURE!
testHelloWorldAsynch(org.apache.tuscany.sca.binding.sca.axis2.AsynchTestCase) T
ime elapsed: 2 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<callback fred> but was:<null>
       at junit.framework.Assert.assertEquals(Assert.java:81)
       at junit.framework.Assert.assertEquals(Assert.java:87)
at org.apache.tuscany.sca.binding.sca.axis2.AsynchTestCase.testHelloWorl
dAsynch(AsynchTestCase.java:65)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:299)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:837)


Results :

Failed tests:
testHelloWorldAsynch(org.apache.tuscany.sca.binding.sca.axis2.AsynchTestCase)

Tests run: 7, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50 seconds
[INFO] Finished at: Thu Oct 25 21:55:55 PDT 2007
[INFO] Final Memory: 14M/42M
[INFO] ------------------------------------------------------------------------

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to