Test delete that deletes with taking a row lock @throws Exception
()
| 191 | * @throws Exception |
| 192 | */ |
| 193 | @Test |
| 194 | public void deleteWithLock() throws Exception { |
| 195 | final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY, |
| 196 | QUALIFIER, LOCK); |
| 197 | stubbing(delete); |
| 198 | client.delete(delete); |
| 199 | Mockito.verify(client).sendRpcToRegion(delete); |
| 200 | Mockito.verify(regionclient).sendRpc(delete); |
| 201 | assertTrue(sendDelete); |
| 202 | assertEquals(1, num_deletes.get()); |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Test delete that deletes with a specific row lock and time |
nothing calls this directly
no test coverage detected