Skip to content

Passed

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

Took 1.5 sec.

Standard Error

Thread-5 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1374345195813 ms +++ localhost/127.0.0.1:59999 - Locked within 442 ms, 1 attempts
SLOCK [T main @ 1374345195872 ms --- localhost/127.0.0.1:59999 - Unlock ok within 24 ms
Thread-6 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1374345195873 ms +++ localhost/127.0.0.1:59999 - Locked within 1 ms, 1 attempts
SLOCK [T main @ 1374345195873 ms III localhost/127.0.0.1:59999 - Wait for lock
SLOCK [T main @ 1374345196885
...[truncated 1074 chars]...
k #2 @ 1374345273113 ms +++ EEE (2) localhost/127.0.0.1:59999 - couldn't get lock within 76191 ms, 31 attempts
Exception 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:680)