提交 93a774e7 编写于 作者: Z zyyang

change

上级 2761876b
...@@ -10,14 +10,14 @@ import static org.junit.Assert.assertEquals; ...@@ -10,14 +10,14 @@ import static org.junit.Assert.assertEquals;
@FixMethodOrder(MethodSorters.NAME_ASCENDING) @FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class ImportTest { public class ImportTest {
static Connection connection; private static Connection connection;
String dbName = "test"; static String dbName = "test";
String tName = "t0"; static String tName = "t0";
String host = "127.0.0.1"; static String host = "127.0.0.1";
private static long ts; private static long ts;
@BeforeClass @BeforeClass
public void before() { public static void before() {
try { try {
Class.forName("com.taosdata.jdbc.TSDBDriver"); Class.forName("com.taosdata.jdbc.TSDBDriver");
Properties properties = new Properties(); Properties properties = new Properties();
...@@ -100,7 +100,7 @@ public class ImportTest { ...@@ -100,7 +100,7 @@ public class ImportTest {
} }
@AfterClass @AfterClass
public void close() { public static void close() {
try { try {
if (connection != null) { if (connection != null) {
Statement statement = connection.createStatement(); Statement statement = connection.createStatement();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册