diff --git a/tests/backend/MessageHandlerTests.java b/tests/backend/MessageHandlerTests.java index 2325001..38f636b 100644 --- a/tests/backend/MessageHandlerTests.java +++ b/tests/backend/MessageHandlerTests.java @@ -63,7 +63,7 @@ public void setUp() throws Exception public void tearDown () throws Exception { // Reporter.log("Deleting testing profile.", true); - testServer.quitChannels(); + // testServer.quitChannels(); // URProfilesUtil.getActiveProfilePath().sync(); // URProfilesUtil.getActiveProfilePath().sync(); URProfilesUtil.deleteProfile(testDriver.getTestProfileName(), false); diff --git a/tests/frontend/UpdateStylesBenchmarkTests.java b/tests/frontend/UpdateStylesBenchmarkTests.java index 34b6c6c..5870edf 100644 --- a/tests/frontend/UpdateStylesBenchmarkTests.java +++ b/tests/frontend/UpdateStylesBenchmarkTests.java @@ -121,7 +121,7 @@ public void changeFontBenchmark () throws InterruptedException } - @Test + @Test(timeOut = 5000) public void changeColoursBenchmark () throws InterruptedException, BadLocationException { Instant startBenchmark = Instant.now(); @@ -149,7 +149,7 @@ public void changeColoursBenchmark () throws InterruptedException, BadLocationEx log("Check current style has updated.", true); URStyle channelStyle = null; - + while (channelStyle == null || !channelStyle.equals(newStyle)) { TimeUnit.MILLISECONDS.sleep(10);