We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c951b1c commit 7aafaeeCopy full SHA for 7aafaee
src/test/java/org/owasp/esapi/crypto/CryptoTokenTest.java
@@ -391,7 +391,9 @@ public final void testAddandGetAttributes() {
391
private static void nap(int n) {
392
try {
393
System.out.println("Sleeping " + n + " seconds...");
394
- Thread.sleep( n * 1000 );
+ // adds additional time to make sure we sleep more than n seconds
395
+ int additionalTimeToSleep = 100;
396
+ Thread.sleep( n * 1000 + additionalTimeToSleep );
397
} catch (InterruptedException e) {
398
; // Ignore
399
}
0 commit comments