hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [05/24] hbase git commit: Revert "Fix failing TestReplicationEndpoint test"
Date Tue, 24 Nov 2015 22:29:42 GMT
Revert "Fix failing TestReplicationEndpoint test"

This reverts commit f0dc556b7174c18f3174c24364cc80e32195f715.


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

Branch: refs/heads/hbase-12439
Commit: 3a1874f5c41f9aebefa1629a762b8551ee198a8f
Parents: 62aba61
Author: Sean Busbey <busbey@cloudera.com>
Authored: Fri Nov 20 00:09:46 2015 -0600
Committer: Sean Busbey <busbey@cloudera.com>
Committed: Fri Nov 20 00:09:46 2015 -0600

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/3a1874f5/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 52fb41c..bf0cc1a 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,9 +200,7 @@ public class TestReplicationEndpoint extends TestReplicationBase {
       byte[] row = hri.getStartKey();
       for (int i = 0; i < 100; i++) {
         if (row.length > 0) {
-          Put put = new Put(row);
-          put.addColumn(famName, row, row);
-          region.put(put);
+          doPut(row);
           totEdits++;
         }
       }


Mime
View raw message