You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/14 18:46:24 UTC

[jira] Updated: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3479:
------------------------------------

    Summary: [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing  (was: [break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing)

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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 junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	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:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org