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/c744dc63 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c744dc63 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c744dc63 Branch: refs/heads/camel-2.12.x Commit: c744dc63250ff8f1eeee0dc4b97ae08294f2d4d9 Parents: 6de2fba 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:40 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/c744dc63/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 be2dfad..8e45751 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();