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

Method deleteWithFamilyAndTime

test/TestDeleteRequest.java:115–125  ·  view source on GitHub ↗

Test delete that deletes based on family and time @throws Exception

()

Source from the content-addressed store, hash-verified

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

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