hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [2/2] hbase git commit: HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test
Date Fri, 20 Nov 2015 06:34:37 GMT
HBASE-14777 ADDENDUM Fix failing TestReplicationEndpoint test

Signed-off-by: stack <stack@apache.org>


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 <ashu210890@gmail.com>
Authored: Thu Nov 19 13:19:50 2015 -0800
Committer: Sean Busbey <busbey@cloudera.com>
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++;
         }
       }


Mime
View raw message