Test Result : BlockInfoManagerSuite

0 failures
18 tests
Took 1.5 sec.

All Tests

Test nameDurationStatus
assertBlockIsLockedForWriting throws exception if block is not locked1 msPassed
basic lockNewBlockForWriting1 msPassed
cannot grab a writer lock while already holding a write lock1 msPassed
downgrade lock1 msPassed
get non-existent block0 msPassed
initial memory usage0 msPassed
lockNewBlockForWriting blocks while write lock is held, then returns false after release0.3 secPassed
lockNewBlockForWriting blocks while write lock is held, then returns true after removal0.3 secPassed
multiple tasks can hold read locks2 msPassed
read locks are reentrant1 msPassed
read locks will block writer0.3 secPassed
releaseAllLocksForTask releases write locks2 msPassed
removing a block causes blocked callers to receive None0.3 secPassed
removing a block while holding only a read lock throws IllegalStateException1 msPassed
removing a block without holding any locks throws IllegalStateException3 msPassed
removing a non-existent block throws IllegalArgumentException2 msPassed
single task can hold write lock1 msPassed
write lock will block readers0.3 secPassed