[TD-5388]<test>: modified test case, use execute for reset query cache statement

This commit is contained in:
zyyang 2021-07-20 15:53:03 +08:00
parent d26a7ca3ba
commit 88ee9daee3
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ public class ResetQueryCacheTest {
@Test
public void testResetQueryCache() throws SQLException {
String resetSql = "reset query cache";
ResultSet rs = statement.executeQuery(resetSql);
rs.close();
statement.execute(resetSql);
}
@After