[ 
https://issues.apache.org/jira/browse/CAMEL-8886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593508#comment-14593508
 ] 

Willem Jiang commented on CAMEL-8886:
-------------------------------------

The error is caused by the recent change of CAMEL-8829. The old change of 
CAMEL-8829 doesn't copy the attachments from the message, and it just break the 
test.

> camel-cxf - 2 tests fails
> -------------------------
>
>                 Key: CAMEL-8886
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8886
>             Project: Camel
>          Issue Type: Test
>          Components: camel-cxf
>    Affects Versions: 2.16.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.16.0
>
>
> Tests run: 11, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.426 sec 
> <<< FAILURE! - in 
> org.apache.camel.component.cxf.jaxrs.simplebinding.CxfRsConsumerSimpleBindingTest
> testMultipartPostWithParametersAndPayload(org.apache.camel.component.cxf.jaxrs.simplebinding.CxfRsConsumerSimpleBindingTest)
>   Time elapsed: 0.057 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<200> but was:<500>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.camel.component.cxf.jaxrs.simplebinding.CxfRsConsumerSimpleBindingTest.testMultipartPostWithParametersAndPayload(CxfRsConsumerSimpleBindingTest.java:305)
> testMultipartPostWithoutParameters(org.apache.camel.component.cxf.jaxrs.simplebinding.CxfRsConsumerSimpleBindingTest)
>   Time elapsed: 0.04 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<200> but was:<500>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.camel.component.cxf.jaxrs.simplebinding.CxfRsConsumerSimpleBindingTest.testMultipartPostWithoutParameters(CxfRsConsumerSimpleBindingTest.java:319)
> Running org.apache.camel.component.cxf.jms.CxfEndpointJMSConsumerTest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to