You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by br...@apache.org on 2020/03/21 20:04:30 UTC

[hbase] branch master updated: HBASE-24031 TestHRegion.testCheckAndMutate_WithFilters is flaky (#1316)

This is an automated email from the ASF dual-hosted git repository.

brfrn169 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new b53fa3c  HBASE-24031 TestHRegion.testCheckAndMutate_WithFilters is flaky (#1316)
b53fa3c is described below

commit b53fa3c51fe9e27d0ad9f5232ff249f8832106f8
Author: Toshihiro Suzuki <br...@gmail.com>
AuthorDate: Sun Mar 22 05:04:16 2020 +0900

    HBASE-24031 TestHRegion.testCheckAndMutate_WithFilters is flaky (#1316)
    
    Signed-off-by: Viraj Jasani <vi...@gmail.com>
---
 .../test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 05962e5..3720773 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
@@ -2210,12 +2210,12 @@ public class TestHRegion {
       ),
       new RowMutations(row)
         .add((Mutation) new Put(row)
-          .addColumn(FAMILY, Bytes.toBytes("D"), Bytes.toBytes("d")))
+          .addColumn(FAMILY, Bytes.toBytes("E"), Bytes.toBytes("e")))
         .add((Mutation) new Delete(row).addColumns(FAMILY, Bytes.toBytes("A"))));
     assertTrue(ok);
 
-    result = region.get(new Get(row).addColumn(FAMILY, Bytes.toBytes("D")));
-    assertEquals("d", Bytes.toString(result.getValue(FAMILY, Bytes.toBytes("D"))));
+    result = region.get(new Get(row).addColumn(FAMILY, Bytes.toBytes("E")));
+    assertEquals("e", Bytes.toString(result.getValue(FAMILY, Bytes.toBytes("E"))));
 
     assertTrue(region.get(new Get(row).addColumn(FAMILY, Bytes.toBytes("A"))).isEmpty());
   }