camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasm1th <james_sm...@te.com>
Subject CamelBlueprintTestSupport inconsistent timeouts
Date Fri, 20 Mar 2015 11:05:33 GMT
Hello,
I've got around 100 JUnit tests in my application over around 15 Karaf
bundles. Only a small selection of those tests extend the
CamelBlueprintTestSupport class.
The tests are just designed to send a new message along a route, sets some
headers and call a bean or another route. The returned object is then
asserted against.
When running the tests individually in Eclipse with JUnit the tests always
pass successfully, and running them using "mvn clean install" works too,
however occasionally the tests will fail when using "mvn clean install". If
I re-run the tests then they will pass, but then in 2 or 3 runs they might
fail again. There are common tests that regularly (not always) fail, but
there are other tests which then just randomly fail having never done so
before. I've tried to see a pattern in the failures but can't see any.


I've attached the stacktrace and a simplified camel route and test as txt
files to show the type of tests that fail. (They're were just to show the
point and may not compile).
My camel version is 2.13.1 using Karaf 3.0.3. I'm using JDK 1.7.0_67 b4-bit.
(The tests are also failing on older and later versions of Java.)

Any help in diagnosing or fixing this issue would be greatly apreciated. If
anymore information is needed then please don't hesitate to ask.

Many thanks,
James


Stack_Trace.txt
<http://camel.465427.n5.nabble.com/file/n5764475/Stack_Trace.txt>  
CamelContext.txt
<http://camel.465427.n5.nabble.com/file/n5764475/CamelContext.txt>  
PopulateFooTest.txt
<http://camel.465427.n5.nabble.com/file/n5764475/PopulateFooTest.txt>  





--
View this message in context: http://camel.465427.n5.nabble.com/CamelBlueprintTestSupport-inconsistent-timeouts-tp5764475.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message