From 2aa972239b9cdf0d58181afa824a7f6117441f8b Mon Sep 17 00:00:00 2001 From: Thang PHAM Date: Sun, 29 Oct 2023 17:39:47 +0100 Subject: [PATCH] increase timeout when checking empty in destinations --- .../controller/AbstractDynamicSimulationControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/gridsuite/ds/server/controller/AbstractDynamicSimulationControllerTest.java b/src/test/java/org/gridsuite/ds/server/controller/AbstractDynamicSimulationControllerTest.java index 569b16a4..c7ad1a52 100644 --- a/src/test/java/org/gridsuite/ds/server/controller/AbstractDynamicSimulationControllerTest.java +++ b/src/test/java/org/gridsuite/ds/server/controller/AbstractDynamicSimulationControllerTest.java @@ -102,7 +102,7 @@ public void tearDown() { List destinations = List.of(dsFailedDestination, dsResultDestination); try { - destinations.forEach(destination -> assertNull("Should not be any messages in queue " + destination + " : ", output.receive(100, destination))); + destinations.forEach(destination -> assertNull("Should not be any messages in queue " + destination + " : ", output.receive(1000, destination))); } finally { // purge in order to not fail the other tests output.clear();