This commit is contained in:
zyyang 2021-01-06 13:23:24 +08:00
parent df19b5067e
commit c91bfcf4d1
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class AppMemoryLeakTest {
} }
} }
@Test @Test(expected = OutOfMemoryError.class)
public void testCreateTooManyStatement() throws ClassNotFoundException, SQLException { public void testCreateTooManyStatement() throws ClassNotFoundException, SQLException {
Class.forName("com.taosdata.jdbc.TSDBDriver"); Class.forName("com.taosdata.jdbc.TSDBDriver");
int stmtCnt = 0; int stmtCnt = 0;