MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / deleteWithFamily

Method deleteWithFamily

test/TestDeleteRequest.java:100–109  ·  view source on GitHub ↗

Test a delete that deletes based on family @throws Exception

()

Source from the content-addressed store, hash-verified

98 * @throws Exception
99 */
100 @Test
101 public void deleteWithFamily() throws Exception {
102 final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY);
103 stubbing(delete);
104 client.delete(delete);
105 Mockito.verify(client).sendRpcToRegion(delete);
106 Mockito.verify(regionclient).sendRpc(delete);
107 assertTrue(sendDelete);
108 assertEquals(1, num_deletes.get());
109 }
110
111 /**
112 * Test delete that deletes based on family and time

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