Fix failing TestReplicationEndpoint test

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Ashu Pachauri 2015-11-19 13:19:50 -08:00 committed by stack
parent b06acfbf0b
commit 5b5ff1d8b2
1 changed files with 3 additions and 1 deletions

View File

@ -199,7 +199,9 @@ public class TestReplicationEndpoint extends TestReplicationBase {
byte[] row = hri.getStartKey(); byte[] row = hri.getStartKey();
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
if (row.length > 0) { if (row.length > 0) {
doPut(row); Put put = new Put(row);
put.addColumn(famName, row, row);
region.put(put);
totEdits++; totEdits++;
} }
} }