This commit is contained in:
zyyang 2021-03-10 11:01:34 +08:00
parent 5f63630955
commit 071b730c02
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public class DatetimeBefore1970Test {
}
@BeforeClass
public void beforeClass() {
public static void beforeClass() {
try {
Class.forName("com.taosdata.jdbc.TSDBDriver");
conn = DriverManager.getConnection("jdbc:TAOS://127.0.0.1:6030/?user=root&password=taosdata");
@ -57,7 +57,7 @@ public class DatetimeBefore1970Test {
}
@AfterClass
public void afterClass() {
public static void afterClass() {
try {
if (conn != null)
conn.close();