hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject git commit: HBASE-11966 Minor error in TestHRegion.testCheckAndMutate_WithCorrectValue()
Date Fri, 12 Sep 2014 23:44:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 55f144b0f -> 949156c63


HBASE-11966 Minor error in TestHRegion.testCheckAndMutate_WithCorrectValue()


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

Branch: refs/heads/branch-1
Commit: 949156c6334a9f437fe06c48effc20eaf971db12
Parents: 55f144b
Author: Ted Yu <tedyu@apache.org>
Authored: Fri Sep 12 23:44:04 2014 +0000
Committer: Ted Yu <tedyu@apache.org>
Committed: Fri Sep 12 23:44:04 2014 +0000

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/TestHRegion.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/949156c6/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
index 2023ead..093eb0b 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
@@ -1542,7 +1542,7 @@ public class TestHRegion {
       Delete delete = new Delete(row1);
       delete.deleteColumn(fam1, qf1);
       res = region.checkAndMutate(row1, fam1, qf1, CompareOp.EQUAL, new BinaryComparator(val1),
-          put, true);
+          delete, true);
       assertEquals(true, res);
     } finally {
       HRegion.closeHRegion(this.region);


Mime
View raw message