You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2014/04/11 23:20:15 UTC

[jira] [Commented] (SM-2280) Activiti test case fails after upgrade to 5.15.1

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

Krzysztof Sobkowiak commented on SM-2280:
-----------------------------------------

The test case expects a log entry containing following text: "Processing order ${orderId}" where ${orderId} is id of the processed order. But trying to perform the sample in ServiceMix following log entries can be found

{code}
Processing order  created on 
   original message: 
Process to handle incoming order file has been started (process instance id 227)
Notifying process about delivery for order 7
Processing delivery for order  created on 
original message: 
{code}

The order id is missing in the log message. The property {{property.orderid}} (and the others) is not correctly resolved in the end routes.




> Activiti test case fails after upgrade to 5.15.1
> ------------------------------------------------
>
>                 Key: SM-2280
>                 URL: https://issues.apache.org/jira/browse/SM-2280
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: examples
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Krzysztof Sobkowiak
>             Fix For: 5.0.1, 5.1.0, 6.0.0
>
>
> After the upgrade the activiti test case fails with following error
> {code}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 47.207 sec <<< FAILURE! - in org.apache.servicemix.itests.ActivitiExamplesTest
> testActivitiCamelExample(org.apache.servicemix.itests.ActivitiExamplesTest)  Time elapsed: 30.275 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.ActivitiExamplesTest$$anonfun$testActivitiCamelExample$1.apply$mcV$sp(ExamplesIntegrationTests.scala:67)
> 	at org.apache.servicemix.itests.IntegrationTestSupport.testWithFeature(IntegrationTestSupport.scala:74)
> 	at org.apache.servicemix.itests.ActivitiExamplesTest.testActivitiCamelExample(ExamplesIntegrationTests.scala:58)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)