fix test case.

This commit is contained in:
XieHan
2021-10-30 17:36:58 +08:00
parent fa325465bf
commit ca950fffaa
2 changed files with 12 additions and 23 deletions

View File

@@ -224,6 +224,7 @@ TEST(upstream_unittest, AddAndRemove)
wait_group.wait();
EXPECT_TRUE(http_server1.start("127.0.0.1", 8001) == 0)
<< "http server start failed";
ns->del_policy(name.c_str());
}
TEST(upstream_unittest, FuseAndRecover)
@@ -285,6 +286,7 @@ TEST(upstream_unittest, FuseAndRecover)
series->start();
wait_group.wait();
ns->del_policy("test_policy");
}
TEST(upstream_unittest, TryAnother)