diff --git a/tests/backend/MessageHandlerTests.java b/tests/backend/MessageHandlerTests.java index 70302fa..58f9188 100644 --- a/tests/backend/MessageHandlerTests.java +++ b/tests/backend/MessageHandlerTests.java @@ -282,7 +282,7 @@ public void testServerLineLimit() throws BadLocationException, InterruptedExcept testHandler.parseMessage(testMessage); } - while (testServer.messageQueueInProgress) + while (testServer.messageQueueWorking()) { TimeUnit.MILLISECONDS.sleep(10); }