try {
cb.waitForTurn(1);
manager.readLock(owner1, res1);
cb.signalTurn(2);
cb.waitForTurn(6);
manager.writeLock(owner1, res3);
} catch (LockException le) {
assertEquals(le.getCode(), LockException.CODE_DEADLOCK_VICTIM);
deadlockCnt++;
} catch (InterruptedException ie) {