Skip to content

Commit

Permalink
Shorten sleepTime in testPermitAcquiredAfterWaitWithLargeQueue to mak…
Browse files Browse the repository at this point in the history
…e test run faster
  • Loading branch information
Nick Merlo committed Jun 24, 2023
1 parent fc074c8 commit 282e07e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void testPermitAcquiredAfterWaitWithLargeQueue(){
CheckedRunnable sleep = () -> {
ignoreExceptions(() ->{
System.out.println("Running sleep task " + (index + 1));
TimeUnit.SECONDS.sleep(1);
TimeUnit.MILLISECONDS.sleep(10);
System.out.println("Finished sleep task " + (index + 1));
});
};
Expand Down

0 comments on commit 282e07e

Please sign in to comment.