phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-2368 Don't close PhoenixDriver
Date Tue, 12 Jan 2016 18:48:41 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 cea53dd85 -> 91a13438c


PHOENIX-2368 Don't close PhoenixDriver


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 91a13438cb5077ca3816a290ca6ca4649bc17e53
Parents: cea53dd
Author: Samarth <samarth.jain@salesforce.com>
Authored: Tue Jan 12 10:48:32 2016 -0800
Committer: Samarth <samarth.jain@salesforce.com>
Committed: Tue Jan 12 10:48:32 2016 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java   | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/91a13438/phoenix-core/src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java b/phoenix-core/src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java
index 02af191..bc9ed3b 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/jdbc/PhoenixDriverTest.java
@@ -118,8 +118,6 @@ public class PhoenixDriverTest extends BaseConnectionlessQueryTest {
     @Test
     public void testInvalidURL() throws Exception {
       Class.forName(PhoenixDriver.class.getName());
-      PhoenixDriver d = (PhoenixDriver) DriverManager.getDriver("jdbc:phoenix");
-      d.close();
       try {
       DriverManager.getConnection("any text whatever you want to put here");
       fail("Should have failed due to invalid driver");


Mime
View raw message