Repository: phoenix
Updated Branches:
  refs/heads/master dd008f4fe -> a5fb51948


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/a5fb5194
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a5fb5194
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a5fb5194

Branch: refs/heads/master
Commit: a5fb51948225ee7ee9ece76d233f4a150006e4a9
Parents: dd008f4
Author: Samarth Jain <[email protected]>
Authored: Fri Aug 25 09:03:35 2017 -0700
Committer: Samarth Jain <[email protected]>
Committed: Fri Aug 25 09:03:35 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/a5fb5194/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 11be59e..a1e2b9e 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
@@ -83,9 +83,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;
     
@@ -321,6 +318,8 @@ public class MutableIndexFailureIT extends BaseTest {
                 }
 
             }
+        } finally {
+            FAIL_WRITE = false;
         }
     }
 

Reply via email to