camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: Fixed the camel-core test error in JDK8
Date Wed, 14 May 2014 07:37:53 GMT
Repository: camel
Updated Branches:
  refs/heads/master f6298c5ca -> 80a141f75


Fixed the camel-core test error in JDK8


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/80a141f7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/80a141f7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/80a141f7

Branch: refs/heads/master
Commit: 80a141f75d52d2b6cc5e0aea44fe10de176e6648
Parents: f6298c5
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed May 14 15:37:33 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed May 14 15:37:33 2014 +0800

----------------------------------------------------------------------
 .../apache/camel/processor/aggregator/AggregateProcessorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/80a141f7/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateProcessorTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateProcessorTest.java
b/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateProcessorTest.java
index 6e91edc..9ae8b61 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateProcessorTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateProcessorTest.java
@@ -559,7 +559,7 @@ public class AggregateProcessorTest extends ContextTestSupport {
         context.start();
 
         MockEndpoint mock = getMockEndpoint("mock:result");
-        mock.expectedBodiesReceived("B+END", "A+END");
+        mock.expectedBodiesReceivedInAnyOrder("B+END", "A+END");
         mock.expectedPropertyReceived(Exchange.AGGREGATED_COMPLETED_BY, "forceCompletion");
 
         Processor done = new SendProcessor(context.getEndpoint("mock:result"));


Mime
View raw message