diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java index ba8d75c8901..79a06ce675e 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java @@ -199,9 +199,7 @@ public class TestReplicationEndpoint extends TestReplicationBase { byte[] row = hri.getStartKey(); for (int i = 0; i < 100; i++) { if (row.length > 0) { - Put put = new Put(row); - put.addColumn(famName, row, row); - region.put(put); + doPut(row); totEdits++; } }