Skip to content

Commit

Permalink
Some test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
matty-r committed Mar 2, 2024
1 parent a6755c2 commit d3d4442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/backend/MessageHandlerTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions tests/frontend/UpdateStylesBenchmarkTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void changeFontBenchmark () throws InterruptedException

}

@Test
@Test(timeOut = 5000)
public void changeColoursBenchmark () throws InterruptedException, BadLocationException
{
Instant startBenchmark = Instant.now();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d3d4442

Please sign in to comment.