Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA5D811747 for ; Wed, 27 Aug 2014 12:40:58 +0000 (UTC) Received: (qmail 59603 invoked by uid 500); 27 Aug 2014 12:40:58 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 59574 invoked by uid 500); 27 Aug 2014 12:40:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 59561 invoked by uid 99); 27 Aug 2014 12:40:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2014 12:40:58 +0000 Date: Wed, 27 Aug 2014 12:40:58 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-7756) org.apache.camel.issues.OnCompletionIssueTest fails because of order dependency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-7756. -------------------------------- Resolution: Fixed Fix Version/s: 2.14.0 Assignee: Claus Ibsen Thanks > org.apache.camel.issues.OnCompletionIssueTest fails because of order dependency > ------------------------------------------------------------------------------- > > Key: CAMEL-7756 > URL: https://issues.apache.org/jira/browse/CAMEL-7756 > Project: Camel > Issue Type: Test > Reporter: Kevin Earls > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.14.0 > > > This test fails intermittently with the error below as it is using MockEndpoint.expectedBodiesReceived() even though it uses parallelProcessing() in the route. The test should use MockEndpoint.expectedBodiesReceivedInAnyOrder() instead > java.lang.AssertionError: mock://complete Body of message: 0. Expected: but was: > at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1333) > at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1315) > at org.apache.camel.component.mock.MockEndpoint$5.run(MockEndpoint.java:628) > at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:394) > at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:362) > at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:350) > at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:188) > at org.apache.camel.ContextTestSupport.assertMockEndpointsSatisfied(ContextTestSupport.java:343) > at org.apache.camel.issues.OnCompletionIssueTest.testOnCompletionIssue(OnCompletionIssueTest.java:39) -- This message was sent by Atlassian JIRA (v6.2#6252)