From 2be3f90fa6dac2447ec3106f0f783c52e294c7d7 Mon Sep 17 00:00:00 2001 From: Ted Yu Date: Fri, 12 Sep 2014 23:45:18 +0000 Subject: [PATCH] HBASE-11966 Minor error in TestHRegion.testCheckAndMutate_WithCorrectValue() --- .../java/org/apache/hadoop/hbase/regionserver/TestHRegion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7f03d85a881..e6d170867f7 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);