hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: Fix failing TestReplicationEndpoint test
Date Thu, 19 Nov 2015 21:27:00 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 c8a715d85 -> fb9be046a


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/fb9be046
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/fb9be046
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/fb9be046

Branch: refs/heads/branch-1.2
Commit: fb9be046aefb2e0b6e832dd00bc44a38ee62ab1f
Parents: c8a715d
Author: Ashu Pachauri <ashu210890@gmail.com>
Authored: Thu Nov 19 13:19:50 2015 -0800
Committer: stack <stack@apache.org>
Committed: Thu Nov 19 13:26:53 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/fb9be046/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