Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.1 2b5ff6a7f -> a286759a1
PHOENIX-4126 Reset FAIL_WRITE flag in MutableIndexFailureIT Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/a286759a Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a286759a Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a286759a Branch: refs/heads/4.x-HBase-1.1 Commit: a286759a1330eab03856f56d26774ae5612a066b Parents: 2b5ff6a Author: Samarth Jain <[email protected]> Authored: Fri Aug 25 09:03:51 2017 -0700 Committer: Samarth Jain <[email protected]> Committed: Fri Aug 25 09:03:51 2017 -0700 ---------------------------------------------------------------------- .../org/apache/phoenix/end2end/index/MutableIndexFailureIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/a286759a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexFailureIT.java ---------------------------------------------------------------------- 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 6b6339d..0abd5ae 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 @@ -85,9 +85,6 @@ import com.google.common.collect.Maps; @Category(NeedsOwnMiniClusterTest.class) @RunWith(Parameterized.class) public class MutableIndexFailureIT extends BaseTest { - public static final String INDEX_NAME = "IDX"; - public static final String TABLE_NAME = "T"; - public static volatile boolean FAIL_WRITE = false; public static volatile String fullTableName; @@ -323,6 +320,8 @@ public class MutableIndexFailureIT extends BaseTest { } } + } finally { + FAIL_WRITE = false; } }
