From f56c605e7389da1d2dcd2925d25be1fa972cb6cd Mon Sep 17 00:00:00 2001 From: Ashu Pachauri Date: Thu, 19 Nov 2015 13:19:50 -0800 Subject: [PATCH] HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test Signed-off-by: stack --- .../hadoop/hbase/replication/TestReplicationEndpoint.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 79a06ce675e..ba8d75c8901 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,7 +199,9 @@ public class TestReplicationEndpoint extends TestReplicationBase { byte[] row = hri.getStartKey(); for (int i = 0; i < 100; i++) { if (row.length > 0) { - doPut(row); + Put put = new Put(row); + put.addColumn(famName, row, row); + region.put(put); totEdits++; } }