Repository: phoenix Updated Branches: refs/heads/4.4-HBase-0.98 862ba4eef -> 96cb2c728
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/96cb2c72 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/96cb2c72 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/96cb2c72 Branch: refs/heads/4.4-HBase-0.98 Commit: 96cb2c728c8c289bdaca5ce784c85e4da16e8522 Parents: 862ba4e Author: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Authored: Mon Jun 1 21:36:32 2015 +0530 Committer: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Committed: Mon Jun 1 21:36:32 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/96cb2c72/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 03b7381..3511800 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();