change
This commit is contained in:
parent
e56abac7ec
commit
5d85bd3a19
|
@ -384,8 +384,8 @@ public class RestfulConnectionTest {
|
||||||
@Test
|
@Test
|
||||||
public void unwrap() {
|
public void unwrap() {
|
||||||
try {
|
try {
|
||||||
TSDBConnection tsdbConnection = conn.unwrap(TSDBConnection.class);
|
RestfulConnection restfulConnection = conn.unwrap(RestfulConnection.class);
|
||||||
Assert.assertNotNull(tsdbConnection);
|
Assert.assertNotNull(restfulConnection);
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,8 @@ import java.sql.*;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
public class RestfulDatabaseMetaDataTest {
|
public class RestfulDatabaseMetaDataTest {
|
||||||
private static final String host = "master";
|
// private static final String host = "master";
|
||||||
// private static final String host = "127.0.0.1";
|
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 final String url = "jdbc:TAOS-RS://" + host + ":6041/?user=root&password=taosdata";
|
||||||
private static Connection connection;
|
private static Connection connection;
|
||||||
private static RestfulDatabaseMetaData metaData;
|
private static RestfulDatabaseMetaData metaData;
|
||||||
|
|
Loading…
Reference in New Issue