From 8dbbe96e040cdee2a94b2a0ac53462a5c8f5c233 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 bf0cc1a7a4b..52fb41c1369 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 @@ -200,7 +200,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++; } }