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 5755eb012d7 Fix flaky slow CI servers
5755eb012d7 is described below
commit 5755eb012d72ed421609d2d281ceeddcf0e27811
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Sep 4 17:28:12 2024 +0200
Fix flaky slow CI servers
---
.../org/apache/camel/processor/throttle/requests/ThrottlerTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
index ebe0a6ff46e..b7bc7069f99 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerTest.java
@@ -133,8 +133,8 @@ public class ThrottlerTest extends ContextTestSupport {
// slack)
long minimum = calculateMinimum(intervalMs, throttle, messageCount) -
50;
long maximum = calculateMaximum(intervalMs, throttle, messageCount) +
50;
- // add 500 in case running on slow CI boxes
- maximum += 500;
+ // add 1000 in case running on slow CI boxes
+ maximum += 1000;
log.info("Sent {} exchanges in {}ms, with throttle rate of {} per
{}ms. Calculated min {}ms and max {}ms", messageCount,
elapsedTimeMs, throttle, intervalMs, minimum,
maximum);