hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [01/24] hbase git commit: Fix failing TestReplicationEndpoint test
Date Tue, 24 Nov 2015 22:29:38 GMT
Repository: hbase
Updated Branches:
  refs/heads/hbase-12439 c92737c0e -> 6a493ddff


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

Branch: refs/heads/hbase-12439
Commit: f0dc556b7174c18f3174c24364cc80e32195f715
Parents: c92737c
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:13 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/f0dc556b/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 bf0cc1a..52fb41c 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++;
         }
       }


Mime
View raw message