ClearTablesTest.java 文件源码

java
阅读 15 收藏 0 点赞 0 评论 0

项目:open-kilda 作者:
@Then("^flow rules should not be cleared up")
public void checkFlowRules() {
    FlowRules result = CLIENT
            .target(DefaultParameters.FLOODLIGHT_ENDPOINT)
            .path(ACL_RULES_PATH)
            .request()
            .get(FlowRules.class);

    assertTrue("Floodlight should send flow rules", result != null && result.getFlows() != null);
    String expectedCookie = String.valueOf(Long.parseLong(COOKIE.substring(2), 16));
    assertThat(result.getFlows(), hasItem(hasProperty("cookie", is(expectedCookie))));
    dockerClient.close();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号