From 5d85bd3a19201e9cfc0c880e58dce12ea7c41bed Mon Sep 17 00:00:00 2001 From: zyyang Date: Sat, 20 Feb 2021 21:09:52 +0800 Subject: [PATCH] change --- .../test/java/com/taosdata/jdbc/rs/RestfulConnectionTest.java | 4 ++-- .../com/taosdata/jdbc/rs/RestfulDatabaseMetaDataTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulConnectionTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulConnectionTest.java index 204b644ef4..6af3344c01 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulConnectionTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulConnectionTest.java @@ -384,8 +384,8 @@ public class RestfulConnectionTest { @Test public void unwrap() { try { - TSDBConnection tsdbConnection = conn.unwrap(TSDBConnection.class); - Assert.assertNotNull(tsdbConnection); + RestfulConnection restfulConnection = conn.unwrap(RestfulConnection.class); + Assert.assertNotNull(restfulConnection); } catch (SQLException e) { e.printStackTrace(); } diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulDatabaseMetaDataTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulDatabaseMetaDataTest.java index 73f95dd8de..1991c17065 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulDatabaseMetaDataTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/rs/RestfulDatabaseMetaDataTest.java @@ -10,8 +10,8 @@ import java.sql.*; import java.util.Properties; public class RestfulDatabaseMetaDataTest { - private static final String host = "master"; - // private static final String host = "127.0.0.1"; + // private static final String host = "master"; + private static final String host = "127.0.0.1"; private static final String url = "jdbc:TAOS-RS://" + host + ":6041/?user=root&password=taosdata"; private static Connection connection; private static RestfulDatabaseMetaData metaData; -- GitLab