You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/09/16 08:38:44 UTC

[phoenix] branch master updated: PHOENIX-6545 IndexToolForNonTxGlobalIndexIT.testIndexToolFailedMapperNotRecordToResultTable() fails with HBase 2.1

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8fb38e4  PHOENIX-6545 IndexToolForNonTxGlobalIndexIT.testIndexToolFailedMapperNotRecordToResultTable() fails with HBase 2.1
8fb38e4 is described below

commit 8fb38e4a5f3f4152ddfe1614951866c8735bfcbf
Author: Istvan Toth <st...@apache.org>
AuthorDate: Wed Sep 15 13:16:16 2021 +0200

    PHOENIX-6545 IndexToolForNonTxGlobalIndexIT.testIndexToolFailedMapperNotRecordToResultTable() fails with HBase 2.1
---
 .../org/apache/phoenix/end2end/IndexToolForNonTxGlobalIndexIT.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolForNonTxGlobalIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolForNonTxGlobalIndexIT.java
index 3492ba9..4a57ea2 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolForNonTxGlobalIndexIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolForNonTxGlobalIndexIT.java
@@ -622,9 +622,7 @@ public class IndexToolForNonTxGlobalIndexIT extends BaseUniqueNamesOwnClusterIT
 
     @Test
     public void testIndexToolFailedMapperNotRecordToResultTable() throws Exception {
-        if (mutable != true || singleCell != true ) {
-            return;
-        }
+        Assume.assumeTrue(HbaseCompatCapabilities.isRawFilterSupported() && mutable && singleCell);
         Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
         try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
             String schemaName = generateUniqueName();