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

Method deleteWithColumnAndTime

test/TestDeleteRequest.java:177–187  ·  view source on GitHub ↗

Test delete that deletes with multiple qualifiers and time @throws Exception

()

Source from the content-addressed store, hash-verified

175 * @throws Exception
176 */
177 @Test
178 public void deleteWithColumnAndTime() throws Exception {
179 final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY,
180 QUALIFIERS, TIMESTAMP_LONG);
181 stubbing(delete);
182 client.delete(delete);
183 Mockito.verify(client).sendRpcToRegion(delete);
184 Mockito.verify(regionclient).sendRpc(delete);
185 assertTrue(sendDelete);
186 assertEquals(1, num_deletes.get());
187 }
188
189 /**
190 * Test delete that deletes with taking a row lock

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