HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test

Signed-off-by: stack <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ca7fbead
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ca7fbead
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ca7fbead

Branch: refs/heads/branch-1.2
Commit: ca7fbeadafb6caa1b9534a225900e31acbd5cf34
Parents: 34e97f9
Author: Ashu Pachauri <[email protected]>
Authored: Thu Nov 19 13:19:50 2015 -0800
Committer: Sean Busbey <[email protected]>
Committed: Fri Nov 20 00:28:55 2015 -0600

----------------------------------------------------------------------
 .../apache/hadoop/hbase/replication/TestReplicationEndpoint.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ca7fbead/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
----------------------------------------------------------------------
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 79a06ce..ba8d75c 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++;
         }
       }

Reply via email to