Skip to content

Passed

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

Took 1.7 sec.

Standard Error

Thread-47 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1438037610229 ms +++ localhost/127.0.0.1:59999 - Locked within 1 ms, 1 attempts
SLOCK [T main @ 1438037610253 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
Thread-48 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1438037610253 ms +++ localhost/127.0.0.1:59999 - Locked within 0 ms, 1 attempts
SLOCK [T main @ 1438037610254 ms III localhost/127.0.0.1:59999 - Wait for lock
SLOCK [T main @ 1438037611299 
...[truncated 940 chars]...
 ms, 5 attempts
Exception in thread "LockUnlock #2" java.lang.AssertionError: LockUnlock #2 - 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:695)
SLOCK [T LockUnlock #1 @ 1438037612672 ms --- localhost/127.0.0.1:59999 - Unlock ok within 0 ms
LockUnlock #1 LOCK OFF