This is an automated email from the ASF dual-hosted git repository. gnodet 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 9571d76 Improve SedaDefaultDiscardWhenFullTest stability 9571d76 is described below commit 9571d767ec46dd2a3b3eb0ab0ffeb1822a2373eb Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Mon Jun 8 15:00:15 2020 +0200 Improve SedaDefaultDiscardWhenFullTest stability --- .../apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 7d23bd2..8564de2 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 @@ -31,15 +31,15 @@ public class SedaDefaultDiscardWhenFullTest extends ContextTestSupport { template.sendBody("seda:foo", "Hello World"); template.sendBody("seda:foo", "Bye World"); - // wait a little bit for flaky CI - Thread.sleep(10); - // this message will be discarded template.sendBody("seda:foo", "Hi World"); // start route context.getRouteController().startRoute("foo"); + // wait a little bit until the route is started and the first messages are consumed + Thread.sleep(100); + // and now there is room for me template.sendBody("seda:foo", "Camel World");