Skip to content

Passed

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

Took 2.7 sec.

Standard Error

SLOCK [T main @ 1438477042115 ms III localhost/127.0.0.1:59999 - Wait for lock
Thread-46 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1438477043222 ms +++ localhost/127.0.0.1:59999 - Locked within 2107 ms, 2 attempts
SLOCK [T main @ 1438477043272 ms --- localhost/127.0.0.1:59999 - Unlock ok within 0 ms
Thread-47 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1438477044274 ms +++ localhost/127.0.0.1:59999 - Locked within 1001 ms, 1 attempts
SLOCK [T main @ 14384770
...[truncated 1231 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 @ 1438477047998 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms
LockUnlock #2 LOCK OFF