Skip to content

Commit

Permalink
add delay between tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Sep 4, 2024
1 parent e984855 commit 2a16d5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/de/oliver/fancynpcs/tests/FNTestClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ public boolean runTests(Player player) {
long testEnd = System.currentTimeMillis();
System.out.println("Test " + displayName(testMethod) + " took " + (testEnd - testStart) + "ms");
player.sendMessage("Test " + displayName(testMethod) + " took " + (testEnd - testStart) + "ms");

try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
}

return true;
Expand Down

0 comments on commit 2a16d5b

Please sign in to comment.