Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.0 5be585d00 -> 5ff5fd4ed
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/5ff5fd4e Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/5ff5fd4e Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/5ff5fd4e Branch: refs/heads/4.x-HBase-1.0 Commit: 5ff5fd4eda8deafa01e0f15d28b79d613c73bffe Parents: 5be585d Author: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Authored: Mon Jun 1 21:34:40 2015 +0530 Committer: Rajeshbabu Chintaguntla <rajeshb...@apache.org> Committed: Mon Jun 1 21:34:40 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/5ff5fd4e/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();