Skip to content

Passed

com.jogamp.common.util.locks.TestSingletonServerSocket00.testOffthreadLockUnlock

Took 2.5 sec.

Standard Error

Thread-46 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1439957775273 ms +++ localhost/127.0.0.1:59999 - Locked within 1002 ms, 1 attempts
SLOCK [T main @ 1439957775317 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
Thread-47 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1439957776315 ms +++ localhost/127.0.0.1:59999 - Locked within 998 ms, 1 attempts
SLOCK [T main @ 1439957776316 ms III localhost/127.0.0.1:59999 - Wait for lock
SLOCK [T main @ 143995777
...[truncated 950 chars]...
ms, 32 attempts
Exception in thread "LockUnlock #1" java.lang.AssertionError: LockUnlock #1 - Could not lock instance: localhost/127.0.0.1:59999
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at com.jogamp.common.util.locks.TestSingletonServerSocket00$1.run(TestSingletonServerSocket00.java:76)
	at java.lang.Thread.run(Thread.java:745)
SLOCK [T LockUnlock #2 @ 1439957779817 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
LockUnlock #2 LOCK OFF