From c8400b48425544451393dcd6f7d0013123fd483e Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Mon, 23 Nov 2026 12:03:18 -0800 Subject: [PATCH] PHOENIX-8111 SystemTablesUpgradeIT never runs SystemTablesUpgradeIT has had no test category since it was added, so the failsafe executions never select it and CI never runs it. It sets its own driver class in a static setup, keeps static upgrade-counting state and reinitializes the connection query services, so it needs its own mini-cluster. Add it to NeedsOwnMiniClusterTest and remove the FIXME about the missing category. Co-Authored-By: Claude Opus 5.5 --- .../java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java index 414d84cada2..5690fbb195a 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesUpgradeIT.java @@ -42,13 +42,14 @@ import org.apache.phoenix.util.ReadOnlyProps; import org.junit.BeforeClass; import org.junit.Test; +import org.junit.experimental.categories.Category; import org.apache.phoenix.thirdparty.com.google.common.collect.Maps; /** * Tests for upgrades of System tables. */ -// FIXME this class has no @Category, and will not be run by Maven +@Category(NeedsOwnMiniClusterTest.class) public class SystemTablesUpgradeIT extends BaseTest { private static boolean reinitialize; private static int countUpgradeAttempts;