Test delete that deletes based on family and time @throws Exception
()
| 113 | * @throws Exception |
| 114 | */ |
| 115 | @Test |
| 116 | public void deleteWithFamilyAndTime() throws Exception { |
| 117 | final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY, |
| 118 | TIMESTAMP_LONG); |
| 119 | stubbing(delete); |
| 120 | client.delete(delete); |
| 121 | Mockito.verify(client).sendRpcToRegion(delete); |
| 122 | Mockito.verify(regionclient).sendRpc(delete); |
| 123 | assertTrue(sendDelete); |
| 124 | assertEquals(1, num_deletes.get()); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Test delete that deletes with qualifier |
nothing calls this directly
no test coverage detected