Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 4545aaa6f -> 402e489f5


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 402e489f54739947d569169c5b5fa59ef0263a50
Parents: 4545aaa
Author: Samarth Jain <[email protected]>
Authored: Fri Aug 25 09:02:52 2017 -0700
Committer: Samarth Jain <[email protected]>
Committed: Fri Aug 25 09:03:05 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/402e489f/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 f1be8b5..8bab163 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;
     
@@ -323,6 +320,8 @@ public class MutableIndexFailureIT extends BaseTest {
                 }
 
             }
+        } finally {
+            FAIL_WRITE = false;
         }
     }
 

Reply via email to