提交 106f750b 编写于 作者: Z zyyang

change

上级 55729a6e
......@@ -89,7 +89,7 @@ public class TSDBStatementTest {
Assert.assertEquals(0, stmt.getQueryTimeout());
}
@Test
@Test(expected = SQLException.class)
public void setQueryTimeout() throws SQLException {
stmt.setQueryTimeout(0);
stmt.setQueryTimeout(-1);
......@@ -333,7 +333,7 @@ public class TSDBStatementTest {
stmt.execute("", new int[]{});
}
@Test
@Test(expected = SQLFeatureNotSupportedException.class)
public void testExecute2() throws SQLException {
stmt.execute("", new String[]{});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册