@@ -23,7 +23,7 @@ public void checkMultithreadingAbsence() throws ExecutionException, InterruptedE
2323
2424 var future = CompletableFuture .supplyAsync (() -> aggregator .doRequestOld ());
2525
26- await ().atMost (3 , TimeUnit .SECONDS )
26+ await ().atMost (30 , TimeUnit .SECONDS )
2727 .pollInterval (ONE_HUNDRED_MILLISECONDS )
2828 .until (() -> future .isDone ());
2929 assertThat (future .get ()).isEqualTo ("OneTwo" );
@@ -38,7 +38,7 @@ public void checkMultithreadingPresence() throws ExecutionException, Interrupted
3838
3939 var future = CompletableFuture .supplyAsync (() -> aggregator .doRequest ());
4040
41- await ().atMost (1_200 , TimeUnit .MILLISECONDS )
41+ await ().atMost (30 , TimeUnit .SECONDS )
4242 .pollInterval (ONE_HUNDRED_MILLISECONDS )
4343 .until (() -> future .isDone ());
4444 assertThat (future .get ()).isEqualTo ("OneTwo" );
@@ -59,7 +59,7 @@ public void checkMultithreadingPresenceFor10Requests() throws ExecutionException
5959
6060 var future = CompletableFuture .supplyAsync (() -> aggregator .doRequest10 ());
6161
62- await ().atMost (1_500 , TimeUnit .MILLISECONDS )
62+ await ().atMost (30 , TimeUnit .SECONDS )
6363 .pollInterval (ONE_HUNDRED_MILLISECONDS )
6464 .until (() -> future .isDone ());
6565 assertThat (future .get ()).isEqualTo ("01234014916" );
0 commit comments