Skip to content

Commit

Permalink
Extend the timeout of the testThatEventConsumersAreCalledOnDuplicated…
Browse files Browse the repository at this point in the history
…Context and testThatBlockingEventConsumersAreCalledOnDuplicatedContext as the are failing on the windows CI
  • Loading branch information
cescoffier committed Sep 28, 2022
1 parent 1a2504a commit 06d6e6e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.List;
import java.util.UUID;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicInteger;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
Expand Down Expand Up @@ -68,7 +67,6 @@ public void cleanup() {

@Test
public void testThatMessageSentToTheEventBusAreProcessedOnUnsharedDuplicatedContext() {
AtomicInteger expected = new AtomicInteger();
String id1 = UUID.randomUUID().toString();
bus.send("context-send", id1);
await().until(() -> consumers.probes().contains(id1));
Expand Down Expand Up @@ -112,7 +110,7 @@ bus.<String> request("context", uuid)

Uni.join().all(unis).andFailFast()
.runSubscriptionOn(Infrastructure.getDefaultExecutor())
.await().atMost(Duration.ofSeconds(10));
.await().atMost(Duration.ofSeconds(30));
}

@Test
Expand All @@ -133,7 +131,7 @@ bus.<String> request("context-blocking", uuid)

Uni.join().all(unis).andFailFast()
.runSubscriptionOn(Infrastructure.getDefaultExecutor())
.await().atMost(Duration.ofSeconds(10));
.await().atMost(Duration.ofSeconds(30));

}

Expand Down

0 comments on commit 06d6e6e

Please sign in to comment.