Test put with a specific row lock @throws Exception
()
| 116 | * @throws Exception |
| 117 | */ |
| 118 | @Test |
| 119 | public void putWithLock() throws Exception { |
| 120 | final PutRequest put = new PutRequest(TABLE, KEY, FAMILY, QUALIFIER, VALUE, |
| 121 | LOCK); |
| 122 | stubbing(put); |
| 123 | client.put(put); |
| 124 | Mockito.verify(client).sendRpcToRegion(put); |
| 125 | Mockito.verify(regionclient).sendRpc(put); |
| 126 | assertTrue(sendPut); |
| 127 | assertEquals(1, num_puts.get()); |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Test put with a specific timestamp and row lock |
nothing calls this directly
no test coverage detected