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 <[email protected]>
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));
     }
 }

Reply via email to