[jboss-user] [JBossWS] - Ant tests FAILED

bkenison do-not-reply at jboss.com
Tue Oct 7 14:12:57 EDT 2008


I just installed jbossws-native-3.0.3.GA.  I'm using jboss 4.2.3.  I ran the "ant tests" and passed most of them, however, I'm failing on XOPBareTestCase and XOPHandlerTestCase


Here is the output from those tests:

[junit] Running org.jboss.test.ws.jaxws.samples.xop.doclit.XOPBareTestCase
[junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 8.48 sec
[junit] Corrupt JPEG DATA: 1 extraneous bytes before marker 0xc4
[junit] Corrupt JPEG DATA: 1 extraneous bytes before marker 0xc4
[junit] Test.org.jboss.test.ws.jaxws.samples.xop.doclit.XOPBareTestCase FAILED
[junit] Running org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase
[junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 8.516 sec
[junit] Corrupt JPEG DATA: 1 extraneous bytes before marker 0xc4
[junit] Corrupt JPEG DATA: 1 extraneous bytes before marker 0xc4
[junit] Test.org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase FAILED


In the output files, the following information was recorded:

Testsuite: org.jboss.test.ws.jaxws.samples.xop.doclit.XOPBareTestCase
Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 8.485 sec

Testcase: testDataHandlerRoundtrip took 2.75 sec
Testcase: testDataHandlerResponseOptimzed took 0.453 sec
Testcase: testImgRoundtrip took 1.734 sec
Testcase: testImgResponseOptimized took 1.079 sec
Testcase: testSourceRoundtrip took 0.39 sec
Testcase: testSourceResponseOptimized took 0.547 sec
Testcase: testAttachmentpartSwap took 0.375 sec
	FAILED
Attachment part swap file does still exist: JBossWSattachment32227.dat
junit.framework.AssertionFailedError: Attachment part swap file does still exist: JBossWSattachment32227.dat
	at org.jboss.test.ws.jaxws.samples.xop.doclit.XOPBase.testAttachmentpartSwap(XOPBase.java:155)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)

There was the same error for XOPHandlerTestCase.


We are planning to use XOP with these web services, so I am concerned about the test failure.  Can anyone give me more information on what I might do to pass these tests?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180857#4180857

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180857



More information about the jboss-user mailing list