You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/03/16 15:15:17 UTC
[camel] branch master updated: Flaky CI test
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 ea5a70c Flaky CI test
ea5a70c is described below
commit ea5a70c1d869f23c94b96f512fe148bf36d2871c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 16 16:14:58 2020 +0100
Flaky CI test
---
.../apache/camel/component/seda/SedaDefaultDiscardWhenFullTest.java | 1 +
.../java/org/apache/camel/component/seda/SedaDiscardWhenFullTest.java | 3 +++
2 files changed, 4 insertions(+)
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 3bf9622..7d23bd2 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,6 +31,7 @@ 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
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDiscardWhenFullTest.java b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDiscardWhenFullTest.java
index aa971b9..44f41eb 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDiscardWhenFullTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaDiscardWhenFullTest.java
@@ -36,6 +36,9 @@ public class SedaDiscardWhenFullTest extends ContextTestSupport {
// start route
context.getRouteController().startRoute("foo");
+ // wait a little bit for flaky CI
+ Thread.sleep(10);
+
// and now there is room for me
template.sendBody("seda:foo?discardWhenFull=true", "Camel World");