You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/01/19 00:36:39 UTC

[jira] [Updated] (SM-2813) Drools6CamelServiceExamplesTest fails with error

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

Krzysztof Sobkowiak updated SM-2813:
------------------------------------
    Attachment: org.apache.servicemix.itests.Drools6CamelServiceExamplesTest-output.txt

> Drools6CamelServiceExamplesTest fails with error
> ------------------------------------------------
>
>                 Key: SM-2813
>                 URL: https://issues.apache.org/jira/browse/SM-2813
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: itests
>            Reporter: Krzysztof Sobkowiak
>             Fix For: 7.0.0.M1, 7.0.0
>
>         Attachments: org.apache.servicemix.itests.Drools6CamelServiceExamplesTest-output.txt
>
>
> After upgrade to Karaf 4 the {{Drools6CamelServiceExamplesTest}} fails with following message 
> {code}
> Running org.apache.servicemix.itests.Drools6CamelServiceExamplesTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 40.445 sec <<< FAILURE! - in org.apache.servicemix.itests.Drools6CamelServiceExamplesTest
> testDroolsCamelServerExample(org.apache.servicemix.itests.Drools6CamelServiceExamplesTest)  Time elapsed: 25.368 sec  <<< FAILURE!
> java.lang.AssertionError: Gave up waiting for test condition
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.apache.servicemix.itests.IntegrationTestSupport.expect(IntegrationTestSupport.scala:83)
> 	at org.apache.servicemix.itests.Drools6CamelServiceExamplesTest$$anonfun$testDroolsCamelServerExample$1.apply$mcV$sp(Drools6IntegrationTests.scala:128)
> 	at org.apache.servicemix.itests.IntegrationTestSupport.testWithFeature(IntegrationTestSupport.scala:74)
> 	at org.apache.servicemix.itests.IntegrationTestSupport.testWithFeature(IntegrationTestSupport.scala:64)
> 	at org.apache.servicemix.itests.Drools6CamelServiceExamplesTest.testDroolsCamelServerExample(Drools6IntegrationTests.scala:127)
> Results :
> Failed tests: 
>   Drools6CamelServiceExamplesTest.testDroolsCamelServerExample:127->IntegrationTestSupport.testWithFeature:64->IntegrationTestSupport.testWithFeature:74->IntegrationTestSupport.expect:83 Gave up waiting for test condition
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> {code}
> The itest output file contains following entry (for more see attached file)
> {code}
> Caused by: java.lang.IllegalArgumentException: Data format 'xstream' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath
> 	at org.apache.camel.model.DataFormatDefinition.getDataFormat(DataFormatDefinition.java:107)[41:org.apache.camel.camel-core:2.16.1]
> 	at org.apache.camel.model.DataFormatDefinition.getDataFormat(DataFormatDefinition.java:88)[41:org.apache.camel.camel-core:2.16.1] 
> {code}
> It looks like the {{xstream}} component (which is installed together with the sample) is not correctly initialized



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