Repository: phoenix
Updated Branches:
  refs/heads/4.4-HBase-1.1 b76fc2030 -> cbf00bc2d


PHOENIX-2016 Some Phoenix tests failed with NPE(Alicia Ying Shu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/cbf00bc2
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cbf00bc2
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cbf00bc2

Branch: refs/heads/4.4-HBase-1.1
Commit: cbf00bc2d767be1ae9ac70a643b55e9cedd13f82
Parents: b76fc20
Author: Rajeshbabu Chintaguntla <[email protected]>
Authored: Mon Jun 1 21:35:41 2015 +0530
Committer: Rajeshbabu Chintaguntla <[email protected]>
Committed: Mon Jun 1 21:35:41 2015 +0530

----------------------------------------------------------------------
 phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/cbf00bc2/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
index b0574c3..fa78656 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
@@ -1627,6 +1627,7 @@ public abstract class BaseTest {
      * Disable and drop all the tables except SYSTEM.CATALOG and 
SYSTEM.SEQUENCE
      */
     private static void disableAndDropNonSystemTables() throws Exception {
+        if (driver == null) return;
         HBaseAdmin admin = driver.getConnectionQueryServices(null, 
null).getAdmin();
         try {
             HTableDescriptor[] tables = admin.listTables();

Reply via email to