Test put with a specific timestamp and row lock @throws Exception
()
| 132 | * @throws Exception |
| 133 | */ |
| 134 | @Test |
| 135 | public void putWithLockAndTime() throws Exception { |
| 136 | final PutRequest put = new PutRequest(TABLE, KEY, FAMILY, QUALIFIER, VALUE, |
| 137 | TIMESTAMP_LONG, LOCK); |
| 138 | stubbing(put); |
| 139 | client.put(put); |
| 140 | Mockito.verify(client).sendRpcToRegion(put); |
| 141 | Mockito.verify(regionclient).sendRpc(put); |
| 142 | assertTrue(sendPut); |
| 143 | assertEquals(1, num_puts.get()); |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Test put with multiple column qualifier, values and row lock |
nothing calls this directly
no test coverage detected