MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / deleteWithTime

Method deleteWithTime

test/TestDeleteRequest.java:85–94  ·  view source on GitHub ↗

Test a delete that deletes a Key for a time @throws Exception

()

Source from the content-addressed store, hash-verified

83 * @throws Exception
84 */
85 @Test
86 public void deleteWithTime() throws Exception {
87 final DeleteRequest delete = new DeleteRequest(TABLE, KEY, TIMESTAMP_LONG);
88 stubbing(delete);
89 client.delete(delete);
90 Mockito.verify(client).sendRpcToRegion(delete);
91 Mockito.verify(regionclient).sendRpc(delete);
92 assertTrue(sendDelete);
93 assertEquals(1, num_deletes.get());
94 }
95
96 /**
97 * Test a delete that deletes based on family

Callers

nothing calls this directly

Calls 5

stubbingMethod · 0.95
deleteMethod · 0.80
sendRpcToRegionMethod · 0.80
sendRpcMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected