* @throws InterruptedException on interruption; this will err the test
*/
public void testDowngrade() throws InterruptedException {
for (Iterator it = logs.iterator(); it.hasNext();) {
ChangeLog changeLog = (ChangeLog) it.next();
WriteLock wLock = locking.acquireWriteLock(changeLog);
verifyBlocked(startReaderThread(locking, state.getId()));
ReadLock rLock = wLock.downgrade();
verifyNotBlocked(startReaderThread(locking, state.getId()));
rLock.release();
}
}