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 2023/08/12 13:39:10 UTC
[camel] branch main updated: camel-core - Attempt to fix flaky test on slower CI servers
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 697a41bcfea camel-core - Attempt to fix flaky test on slower CI servers
697a41bcfea is described below
commit 697a41bcfea6a9262a113677beb6a0f5773777c9
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Aug 12 15:38:54 2023 +0200
camel-core - Attempt to fix flaky test on slower CI servers
---
.../async/AsyncProcessorAwaitManagerInterruptWithRedeliveryTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptWithRedeliveryTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptWithRedeliveryTest.java
index e8dcf3bee9b..cdb2940d721 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptWithRedeliveryTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptWithRedeliveryTest.java
@@ -117,8 +117,9 @@ public class AsyncProcessorAwaitManagerInterruptWithRedeliveryTest extends Conte
return new RouteBuilder() {
@Override
public void configure() {
+ // redelivery delay should not be too fast as tested on slower CI servers can cause test to fail
errorHandler(
- deadLetterChannel("mock:error").maximumRedeliveries(5).redeliveryDelay(100).asyncDelayedRedelivery());
+ deadLetterChannel("mock:error").maximumRedeliveries(5).redeliveryDelay(500).asyncDelayedRedelivery());
from("direct:start").routeId("myRoute").to("mock:before").bean("myBean", "callMe").to("mock:result");
}