Skip to content

Commit a907633

Browse files
committed
Added System.err.println() to comment about GitHub issue 306.
1 parent 18bdb4d commit a907633

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/org/owasp/esapi/reference/AuthenticatorTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ public void run() {
413413
*/
414414
@Test public void testSetCurrentUser() throws AuthenticationException, InterruptedException {
415415
System.out.println("setCurrentUser");
416+
System.err.println("AuthenticatorTest.setCurrentUser(): This test " +
417+
"occasionally fails due to some undiscovered race condition. " +
418+
"This has been reported as GitHub issue #360. Patches to fix welcome.");
416419
String user1 = ESAPI.randomizer().getRandomString(8, EncoderConstants.CHAR_UPPERS);
417420
String user2 = ESAPI.randomizer().getRandomString(8, EncoderConstants.CHAR_UPPERS);
418421
User userOne = instance.createUser(user1, "getCurrentUser", "getCurrentUser");

0 commit comments

Comments
 (0)