Unit test for BufferPool.getPage() assuming locking. A single transaction should be able to acquire a read lock after it already has a write lock.
()
| 174 | * already has a write lock. |
| 175 | */ |
| 176 | @Test public void acquireWriteAndReadLocks() throws Exception { |
| 177 | metaLockTester(tid1, p0, Permissions.READ_WRITE, |
| 178 | tid1, p0, Permissions.READ_ONLY, true); |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * Unit test for BufferPool.getPage() and BufferPool.releasePage() |
nothing calls this directly
no test coverage detected