Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 fd69a3242 -> dd7834729


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

Branch: refs/heads/4.x-HBase-1.2
Commit: dd78347291c2dd2eaa6d54de05cc4acb6c09b02e
Parents: fd69a32
Author: Samarth Jain <[email protected]>
Authored: Fri Aug 25 09:04:23 2017 -0700
Committer: Samarth Jain <[email protected]>
Committed: Fri Aug 25 09:04:23 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/dd783472/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 cfcefc8..f8697b1 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