Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -415,7 +414,7 @@ public void testIndexWriteFailure() throws Exception {

}
} finally {
FAIL_WRITE = false;
FailingRegionObserver.FAIL_WRITE = false;
}
}

Expand Down Expand Up @@ -611,7 +610,7 @@ private void updateTableAgain(Connection conn, boolean commitShouldFail) throws
}

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";
Expand Down