Test delete that deletes with a specific row lock and time @throws Exception
()
| 207 | * @throws Exception |
| 208 | */ |
| 209 | @Test |
| 210 | public void deleteWithLockAndTime() throws Exception { |
| 211 | final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY, |
| 212 | QUALIFIER, TIMESTAMP_LONG, LOCK); |
| 213 | stubbing(delete); |
| 214 | client.delete(delete); |
| 215 | Mockito.verify(client).sendRpcToRegion(delete); |
| 216 | Mockito.verify(regionclient).sendRpc(delete); |
| 217 | assertTrue(sendDelete); |
| 218 | assertEquals(1, num_deletes.get()); |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Test delete that deletes with multiple qualifiers and row lock |
nothing calls this directly
no test coverage detected