From 4eb2b9996447c0549ca8fc3e2567025ced09f0e8 Mon Sep 17 00:00:00 2001 From: Richard Eckart de Castilho Date: Mon, 22 Jan 2024 21:07:28 +0100 Subject: [PATCH] No issue: Try fixing test by releasing latch only after materializing result --- .../export/controller/ExportServiceControllerImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java b/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java index 3ba50170f21..d614173e254 100644 --- a/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java +++ b/inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java @@ -275,8 +275,8 @@ public Type getPayloadType(StompHeaders aHeaders) public void handleFrame(StompHeaders aHeaders, Object aPayload) { LOG.info("GOT MESSAGE: {}", aPayload); - responseRecievedLatch.countDown(); messageRecieved.set(true); + responseRecievedLatch.countDown(); } }); }