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

Method deleteWithColumnAndLock

test/TestDeleteRequest.java:225–235  ·  view source on GitHub ↗

Test delete that deletes with multiple qualifiers and row lock @throws Exception

()

Source from the content-addressed store, hash-verified

223 * @throws Exception
224 */
225 @Test
226 public void deleteWithColumnAndLock() throws Exception {
227 final DeleteRequest delete = new DeleteRequest(TABLE, KEY, FAMILY,
228 QUALIFIERS, LOCK);
229 stubbing(delete);
230 client.delete(delete);
231 Mockito.verify(client).sendRpcToRegion(delete);
232 Mockito.verify(regionclient).sendRpc(delete);
233 assertTrue(sendDelete);
234 assertEquals(1, num_deletes.get());
235 }
236
237 /**
238 * Test delete that takes input as Strings

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