From fb7e431dab625976e43f9f640ca2d36a466b8332 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Mon, 23 Nov 2026 12:03:13 -0800 Subject: [PATCH] PHOENIX-8103 PrematureScanTimelyAbortIT never runs PrematureScanTimelyAbortIT has no test category, so the failsafe executions never select it and CI never runs it. Its category was commented out because the test was not stable in a shared cluster. The test sets its own server config in its static setup, and a reused fork ignores that config once a shared cluster exists. It also uses a fixed table name and flips a JVM-wide static flag. Like other classes of this shape, add it to NeedsOwnMiniClusterTest so that it always gets its own mini-cluster. Co-Authored-By: Claude Opus 5.5 --- .../apache/phoenix/end2end/PrematureScanTimelyAbortIT.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/PrematureScanTimelyAbortIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/PrematureScanTimelyAbortIT.java index 753b95f3859..1a25ece1d6c 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/PrematureScanTimelyAbortIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/PrematureScanTimelyAbortIT.java @@ -32,15 +32,13 @@ import org.apache.phoenix.util.ReadOnlyProps; import org.junit.BeforeClass; import org.junit.Test; +import org.junit.experimental.categories.Category; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.phoenix.thirdparty.com.google.common.collect.Maps; -// TODO: this test is not stable yet, so it is in no test group and Maven does not run it. -// Uncomment the @Category below, and import org.junit.experimental.categories.Category, -// when the test is stable. -// @Category(ParallelStatsDisabledTest.class) +@Category(NeedsOwnMiniClusterTest.class) public class PrematureScanTimelyAbortIT extends ParallelStatsDisabledIT { private static final Logger LOG = LoggerFactory.getLogger(PrematureScanTimelyAbortIT.class);