This is an automated email from the ASF dual-hosted git repository. virajjasani pushed a commit to branch 5.2 in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit cc7e2a4a320df45a8f8a3b1eb28c64b1e64b8fe4 Author: Andrew Purtell <[email protected]> AuthorDate: Tue Jun 30 15:54:57 2026 -0700 PHOENIX-7830 De-flake MutableIndexFailureIT (#2447) --- .../java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java index ff397dda55..d1bbf25adf 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java @@ -101,7 +101,6 @@ public class MutableIndexFailureIT extends BaseTest { private static final Logger LOGGER = LoggerFactory.getLogger(MutableIndexFailureIT.class); - public static volatile boolean FAIL_WRITE = false; public static volatile String fullTableName; private String tableName; @@ -411,7 +410,7 @@ public class MutableIndexFailureIT extends BaseTest { } } finally { - FAIL_WRITE = false; + FailingRegionObserver.FAIL_WRITE = false; } } @@ -607,7 +606,7 @@ public class MutableIndexFailureIT extends BaseTest { } public static class FailingRegionObserver extends SimpleRegionObserver { - public static boolean TOGGLE_FAIL_WRITE_FOR_RETRY = false; + public static volatile boolean TOGGLE_FAIL_WRITE_FOR_RETRY = false; public static volatile boolean FAIL_WRITE = false; public static volatile boolean FAIL_NEXT_WRITE = false; public static final String FAIL_INDEX_NAME = "FAIL_IDX";
