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

Method putWithColumns

test/TestPutRequest.java:102–112  ·  view source on GitHub ↗

Test put that have multiple column qualifiers and values @throws Exception

()

Source from the content-addressed store, hash-verified

100 * @throws Exception
101 */
102 @Test
103 public void putWithColumns() throws Exception {
104 final PutRequest put = new PutRequest(TABLE, KEY, FAMILY, QUALIFIERS, VALUES,
105 TIMESTAMP_LONG);
106 stubbing(put);
107 client.put(put);
108 Mockito.verify(client).sendRpcToRegion(put);
109 Mockito.verify(regionclient).sendRpc(put);
110 assertTrue(sendPut);
111 assertEquals(1, num_puts.get());
112 }
113
114 /**
115 * Test put with a specific row lock

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected