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 2023/10/05 14:00:29 UTC

[camel-quarkus] 34/45: Checking bigger timeout interval on CI

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

commit b22706ad98b7131eb305e7a57f4ad2c5ea9468ca
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Fri Sep 22 14:35:00 2023 +0200

    Checking bigger timeout interval on CI
---
 .../camel/quarkus/component/hazelcast/it/HazelcastMapTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastMapTest.java b/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastMapTest.java
index 77b674b570..c9c615673f 100644
--- a/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastMapTest.java
+++ b/integration-tests/hazelcast/src/test/java/org/apache/camel/quarkus/component/hazelcast/it/HazelcastMapTest.java
@@ -167,25 +167,25 @@ public class HazelcastMapTest {
                 .statusCode(202);
 
         // verify that the consumer has received all the added values
-        await().atMost(10L, TimeUnit.SECONDS).until(() -> {
+        await().atMost(20L, TimeUnit.SECONDS).until(() -> {
             List<String> body = RestAssured.get("/added").then().extract().body().as(List.class);
             return body.size() == 2 && body.containsAll(Arrays.asList("1", "2"));
         });
 
         // verify that the consumer has received one removed value with key = 1
-        await().atMost(10L, TimeUnit.SECONDS).until(() -> {
+        await().atMost(20L, TimeUnit.SECONDS).until(() -> {
             List<String> body = RestAssured.get("/deleted").then().extract().body().as(List.class);
             return body.size() == 1 && body.contains("1");
         });
 
         // verify that the consumer has received one evicted value with key = 2
-        await().atMost(10L, TimeUnit.SECONDS).until(() -> {
+        await().atMost(20L, TimeUnit.SECONDS).until(() -> {
             List<String> body = RestAssured.get("/evicted").then().extract().body().as(List.class);
             return body.size() == 1 && body.contains("2");
         });
 
         // verify that the consumer has received one updated value with key = 2
-        await().atMost(10L, TimeUnit.SECONDS).until(() -> {
+        await().atMost(20L, TimeUnit.SECONDS).until(() -> {
             List<String> body = RestAssured.get("/updated").then().extract().body().as(List.class);
             return body.size() == 1 && body.contains("2");
         });