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

Krzysztof Sobkowiak commented on SM-2284:
-----------------------------------------

It's a never ending stochastic story. The {{@PerMethod}} doesn't seem to solve 
the problem anymore after I have placed {{ativemq-service}} feature  in 
{{featuresBoot}} after the Camel features. This change was necessary because 
the new {{activemq--camel}} module couldn't be resolved due to missing Camel 
imports. I tried to move the {{ativemq-service}} back and this looks better, 
but we can't place it before Camel features.

The solution with a separate {{drools}} feature looks good (20 runs with no 
problem, but it could be again by the 21 run...). Another solution which looks 
good too  -- {{respectStartLvlDuringFeatureStartup=true}} and setting the 
{{start-level}} of the Drools bundle to {{50}} (or something else less than 
{{80}}    

> Intermittent test failure in CamelExamplesTest.testCamelDroolsExample
> ---------------------------------------------------------------------
>
>                 Key: SM-2284
>                 URL: https://issues.apache.org/jira/browse/SM-2284
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: itests
>    Affects Versions: 5.1.0, 6.0.0
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Krzysztof Sobkowiak
>             Fix For: 5.1.0
>
>         Attachments: 
> org.apache.servicemix.itests.CamelExamplesTest-failed.txt, 
> org.apache.servicemix.itests.CamelExamplesTest-ok.txt
>
>
> There is an intermittent test failure in 
> {{org.apache.servicemix.itests.CamelExamplesTest.testCamelDroolsExample}}
> {code}
> Caused by: 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.CamelExamplesTest$$anonfun$testCamelDroolsExample$1.apply$mcV$sp(ExamplesIntegrationTests.scala:86)
>       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.CamelExamplesTest.testCamelDroolsExample(ExamplesIntegrationTests.scala:85)
> {code}



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

Reply via email to