byte[] randBytes = randomRowKey();
newPut.add(cf, randBytes, randBytes);
hTable.checkAndPut(row, cf, row, row, newPut);
Result result = hTable.get(new Get(row));
Assert.assertEquals(2, result.list().size());
assertMetricsUpdated(OpType.PUT, OpType.CHECK_AND_PUT, OpType.GET);
}
@Test