You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2026/05/22 13:09:22 UTC
(camel-quarkus) branch camel-main updated: Fix flaky test timeouts in Couchbase and AWS Secrets Manager
This is an automated email from the ASF dual-hosted git repository.
JiriOndrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new abb0356850 Fix flaky test timeouts in Couchbase and AWS Secrets Manager
abb0356850 is described below
commit abb03568503fd55cf3ac9f1f1049749952f93f1f
Author: Jiri Ondrusek <on...@gmail.com>
AuthorDate: Fri May 22 15:07:29 2026 +0200
Fix flaky test timeouts in Couchbase and AWS Secrets Manager
- Couchbase: Increase waitUntilReady timeout from 30s to 60s
Container startup in CI environment sometimes takes longer than 30s
- AWS Secrets Manager: Increase rotation wait timeout from 1min to 3min
Secret rotation via Lambda in LocalStack/CI can take longer than 1 minute
---
.../component/aws/secrets/manager/it/AwsSecretsManagerTest.java | 2 +-
.../camel/quarkus/component/couchbase/it/CouchbaseTestResource.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/integration-test-groups/aws2/aws-secrets-manager/src/test/java/org/apache/camel/quarkus/component/aws/secrets/manager/it/AwsSecretsManagerTest.java b/integration-test-groups/aws2/aws-secrets-manager/src/test/java/org/apache/camel/quarkus/component/aws/secrets/manager/it/AwsSecretsManagerTest.java
index 38d6785760..2e1e5f8340 100644
--- a/integration-test-groups/aws2/aws-secrets-manager/src/test/java/org/apache/camel/quarkus/component/aws/secrets/manager/it/AwsSecretsManagerTest.java
+++ b/integration-test-groups/aws2/aws-secrets-manager/src/test/java/org/apache/camel/quarkus/component/aws/secrets/manager/it/AwsSecretsManagerTest.java
@@ -222,7 +222,7 @@ public class AwsSecretsManagerTest extends BaseAWs2TestSupport {
.statusCode(201)
.body(is("true"));
- Awaitility.await().pollInterval(5, TimeUnit.SECONDS).atMost(1, TimeUnit.MINUTES).untilAsserted(
+ Awaitility.await().pollInterval(5, TimeUnit.SECONDS).atMost(3, TimeUnit.MINUTES).untilAsserted(
() -> {
var secret2RotatedMap = RestAssured.given()
.contentType(ContentType.JSON)
diff --git a/integration-tests-jvm/couchbase/src/test/java/org/apache/camel/quarkus/component/couchbase/it/CouchbaseTestResource.java b/integration-tests-jvm/couchbase/src/test/java/org/apache/camel/quarkus/component/couchbase/it/CouchbaseTestResource.java
index 7824d1bab3..9ed72f9520 100644
--- a/integration-tests-jvm/couchbase/src/test/java/org/apache/camel/quarkus/component/couchbase/it/CouchbaseTestResource.java
+++ b/integration-tests-jvm/couchbase/src/test/java/org/apache/camel/quarkus/component/couchbase/it/CouchbaseTestResource.java
@@ -103,7 +103,7 @@ public class CouchbaseTestResource implements QuarkusTestResourceLifecycleManage
cluster.bucket(bucketName);
// wait for cluster
- cluster.bucket(bucketName).waitUntilReady(Duration.ofSeconds(30));
+ cluster.bucket(bucketName).waitUntilReady(Duration.ofSeconds(60));
// insert some documents
for (int i = 0; i < 3; i++) {
@@ -111,6 +111,6 @@ public class CouchbaseTestResource implements QuarkusTestResourceLifecycleManage
}
// wait for cluster
- cluster.bucket(bucketName).waitUntilReady(Duration.ofSeconds(30));
+ cluster.bucket(bucketName).waitUntilReady(Duration.ofSeconds(60));
}
}