This commit is contained in:
zyyang 2021-01-17 16:57:26 +08:00
parent 34a8cbb4cc
commit 4292121dea
1 changed files with 1 additions and 2 deletions

View File

@ -175,11 +175,10 @@ public class StatementTest {
@AfterClass
public static void close() throws Exception {
if (!statement.isClosed()) {
statement.executeUpdate("drop database " + dbName);
statement.executeUpdate("drop database if exists " + dbName);
statement.close();
connection.close();
Thread.sleep(10);
}
}
}