This is an automated email from the ASF dual-hosted git repository.
palashc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new 0524930c78 PHOENIX-7830 De-flake MutableIndexFailureIT (#2447)
0524930c78 is described below
commit 0524930c789f0654d3817cdd82fcbda05652cb05
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 13a514f330..80eca6a4c9 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
@@ -103,7 +103,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;
@@ -415,7 +414,7 @@ public class MutableIndexFailureIT extends BaseTest {
}
} finally {
- FAIL_WRITE = false;
+ FailingRegionObserver.FAIL_WRITE = false;
}
}
@@ -611,7 +610,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";