Searched defs:thread2 (Results 1 - 1 of 1) sorted by relevance
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/types/ |
H A D | LockManagerTest.java | 84 private final ExecutorService thread2 = Executors.newSingleThreadExecutor(); field in class:LockManagerTest 101 DNLock lock2 = lockUsingThread(thread2, lockManager, LockType.WRITE_ENTRY, dnABC).get(); 138 final Future<DNLock> lock2Future = lockUsingThread(thread2, lockManager, lock2Type, dn2); 151 unlockUsingThread(thread2, lock2); 154 assertThat(getThreadLocalLockRefCountFor(thread2, lockManager, dn2)).isGreaterThan(0); 188 final DNLock lock2 = lockUsingThread(thread2, lockManager, lock2Type, dn2).get(); 192 unlockUsingThread(thread2, lock2); 195 assertThat(getThreadLocalLockRefCountFor(thread2, lockManager, dn2)).isGreaterThan(0);
|
Completed in 28 milliseconds