tx.close();
int count = 0;
Status status = Status.READY;
while(status != Status.BACKOFF){
count++;
status = sink.process();
}
sink.stop();
Assert.assertEquals(2, count);
HTable table = new HTable(testUtility.getConfiguration(), tableName);
byte[][] results = getResults(table, 3);