Fixed test on slower CI boxes
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/bf0147af Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/bf0147af Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/bf0147af Branch: refs/heads/master Commit: bf0147af96c7a48511e897e106c1d5885194c1d7 Parents: 5621bd3 Author: Claus Ibsen <davscl...@apache.org> Authored: Mon Feb 24 15:12:35 2014 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Feb 24 17:05:27 2014 +0100 ---------------------------------------------------------------------- .../camel/util/toolbox/FlexibleAggregationStrategiesTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/bf0147af/camel-core/src/test/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategiesTest.java ---------------------------------------------------------------------- diff --git a/camel-core/src/test/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategiesTest.java b/camel-core/src/test/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategiesTest.java index bbb2aa9..8d050b4 100644 --- a/camel-core/src/test/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategiesTest.java +++ b/camel-core/src/test/java/org/apache/camel/util/toolbox/FlexibleAggregationStrategiesTest.java @@ -173,12 +173,12 @@ public class FlexibleAggregationStrategiesTest extends ContextTestSupport { template.sendBody("direct:start.timeoutAndCompletionAware", "AGGREGATE1"); - assertTrue(timeoutLatch.await(1200, TimeUnit.MILLISECONDS)); + assertTrue(timeoutLatch.await(2500, TimeUnit.MILLISECONDS)); template.sendBody("direct:start.timeoutAndCompletionAware", "AGGREGATE2"); template.sendBody("direct:start.timeoutAndCompletionAware", "AGGREGATE3"); - assertTrue(completionLatch.await(1200, TimeUnit.MILLISECONDS)); + assertTrue(completionLatch.await(2500, TimeUnit.MILLISECONDS)); getMockEndpoint("mock:result.timeoutAndCompletionAware").getReceivedExchanges(); assertMockEndpointsSatisfied();