This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 0a72d31 CAMEL-14382: Fixed flaky test 0a72d31 is described below commit 0a72d316be464698798ffc73b2ef252236f7dc04 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Jan 11 15:23:46 2020 +0100 CAMEL-14382: Fixed flaky test --- .../apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java index 68b07d5..55120af 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java @@ -49,8 +49,9 @@ public class SedaDefaultDiscardWhenFullTest extends ContextTestSupport { public void configure() throws Exception { SedaComponent seda = context.getComponent("seda", SedaComponent.class); seda.setDefaultDiscardWhenFull(true); + seda.setQueueSize(2); - from("seda:foo?size=2").routeId("foo").noAutoStartup() + from("seda:foo").routeId("foo").noAutoStartup() .to("mock:result"); } };