@Then("^no tags are saved$")
public void noTagsAreSaved() throws Throwable {
try (Connection connection = pugTSDB.getDataSource().getConnection();
Statement statement = connection.createStatement()) {
ResultSet resultSet = statement.executeQuery("SELECT * FROM tag");
assertFalse(resultSet.next());
}
}
UpsertionSteps.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:pugtsdb
作者:
评论列表
文章目录