Skip to content

Passed

com.jogamp.common.util.locks.TestSingletonServerSocket00.testLockUnlock

Took 1 sec.

Standard Error

Thread-3 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1374203676854 ms +++ localhost/127.0.0.1:59999 - Locked within 1003 ms, 1 attempts
SLOCK [T main @ 1374203676871 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
Thread-4 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1374203677868 ms +++ localhost/127.0.0.1:59999 - Locked within 996 ms, 1 attempts
SLOCK [T main @ 1374203677869 ms III localhost/127.0.0.1:59999 - Wait for lock
SLOCK [T main @ 13742036788
...[truncated 970 chars]...
n in thread "LockUnlock #2" junit.framework.AssertionFailedError: LockUnlock #2 - Could not lock instance: localhost/127.0.0.1:59999
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at com.jogamp.common.util.locks.TestSingletonServerSocket00$1.run(TestSingletonServerSocket00.java:71)
	at java.lang.Thread.run(Thread.java:724)
SLOCK [T LockUnlock #1 @ 1374203681520 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
LockUnlock #1 LOCK OFF