From a1f9c2ecdb91c400908ff01b1f1204f95c4a25ea Mon Sep 17 00:00:00 2001 From: zyyang Date: Thu, 11 Mar 2021 17:05:58 +0800 Subject: [PATCH] change --- .../src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java index 75d365db78..e671ac9123 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java @@ -15,10 +15,10 @@ public class TSDBJNIConnectorTest { public void test() { try { // init - TSDBJNIConnector.init("/etc/taos/taos.cfg", "en_US.UTF-8", "", ""); + TSDBJNIConnector.init(null, null, null, null); // connect TSDBJNIConnector connector = new TSDBJNIConnector(); - connector.connect("", 0, "test", "root", "taosdata"); + connector.connect("127.0.0.1", 6030, null, "root", "taosdata"); // executeQuery long pSql = connector.executeQuery("show variable"); if (connector.isUpdateQuery(pSql)) { -- GitLab