Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FA4B173CE for ; Fri, 20 Mar 2015 11:33:46 +0000 (UTC) Received: (qmail 46054 invoked by uid 500); 20 Mar 2015 11:33:46 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46011 invoked by uid 500); 20 Mar 2015 11:33:46 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 10005 invoked by uid 99); 20 Mar 2015 11:06:53 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=SPF_FAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of james_smith@te.com) Date: Fri, 20 Mar 2015 04:05:33 -0700 (MST) From: jasm1th To: users@camel.apache.org Message-ID: <1426849533729-5764475.post@n5.nabble.com> Subject: CamelBlueprintTestSupport inconsistent timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 CamelContext.txt 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.