You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ya...@apache.org on 2020/11/11 02:55:13 UTC
[phoenix] branch 4.x updated: PHOENIX-5955 OrphanViewToolIT is
flapping
This is an automated email from the ASF dual-hosted git repository.
yanxinyi pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x by this push:
new c9c80b2 PHOENIX-5955 OrphanViewToolIT is flapping
c9c80b2 is described below
commit c9c80b244c0d1c877dcb69f66cb26609befd74c3
Author: Xinyi Yan <xy...@salesforce.com>
AuthorDate: Mon Nov 9 19:07:48 2020 -0800
PHOENIX-5955 OrphanViewToolIT is flapping
Signed-off-by: Xinyi Yan <ya...@apache.org>
---
.../src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java
index 80ded60..099f00f 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java
@@ -43,8 +43,10 @@ import org.apache.hadoop.conf.Configuration;
import org.apache.phoenix.mapreduce.OrphanViewTool;
import org.apache.phoenix.schema.PTable;
import org.apache.phoenix.schema.PTableType;
+import org.apache.phoenix.util.ReadOnlyProps;
import org.apache.phoenix.util.SchemaUtil;
import org.junit.AfterClass;
+import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@@ -53,7 +55,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@RunWith(Parameterized.class)
-public class OrphanViewToolIT extends ParallelStatsDisabledIT {
+public class OrphanViewToolIT extends BaseOwnClusterIT {
private static final Logger LOGGER = LoggerFactory.getLogger(OrphanViewToolIT.class);
private final boolean isMultiTenant;
@@ -126,6 +128,11 @@ public class OrphanViewToolIT extends ParallelStatsDisabledIT {
return Arrays.asList(false, true);
}
+ @BeforeClass
+ public static synchronized void doSetup() throws Exception {
+ setUpTestDriver(ReadOnlyProps.EMPTY_PROPS);
+ }
+
@AfterClass
public static synchronized void cleanUp() {
for (int i = OrphanViewTool.VIEW; i < OrphanViewTool.ORPHAN_TYPE_COUNT; i++) {