You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by la...@apache.org on 2019/06/11 17:54:54 UTC

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5326 IndexToolIT takes over 20-30 minutes.

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

larsh pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new 95e59df  PHOENIX-5326 IndexToolIT takes over 20-30 minutes.
95e59df is described below

commit 95e59df9c02b1307312440cb9b883379e00608c1
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Tue Jun 11 10:55:16 2019 -0700

    PHOENIX-5326 IndexToolIT takes over 20-30 minutes.
---
 .../src/it/java/org/apache/phoenix/end2end/IndexToolIT.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolIT.java
index d25cf6f..3b1dc51 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexToolIT.java
@@ -136,17 +136,17 @@ public class IndexToolIT extends BaseUniqueNamesOwnClusterIT {
                                     TransactionFactory.Provider.valueOf(transactionProvider))
                                 .isUnsupported(Feature.ALLOW_LOCAL_INDEX)) {
                         for (boolean directApi : Booleans) {
-                            for (boolean useSnapshot : Booleans) {
-                                list.add(new Object[] { transactionProvider, mutable, localIndex,
-                                        directApi, useSnapshot, false});
-                            }
+                            list.add(new Object[] { transactionProvider, mutable, localIndex,
+                                    directApi, false, false});
                         }
                     }
                 }
             }
         }
         // Add the usetenantId
-        list.add(new Object[] { "", false, false, true, false, true});
+        list.add(new Object[] { null, false, false, true, false, true});
+        // do one run over snapshots
+        list.add(new Object[] { null, false, false, true, true, false});
         return TestUtil.filterTxParamData(list,0);
     }