add UpstreamManager::upstream_delete() implementation

This commit is contained in:
holmes1412
2021-03-26 16:52:49 +08:00
parent 51dcd5c3c9
commit e46f97728e
2 changed files with 17 additions and 0 deletions

View File

@@ -305,6 +305,9 @@ int main(int argc, char* argv[])
EXPECT_EQ(RUN_ALL_TESTS(), 0);
EXPECT_EQ(UpstreamManager::upstream_delete("try_another"), 1);
EXPECT_EQ(UpstreamManager::upstream_delete("try_another"), 0);
http_server1.stop();
http_server2.stop();
http_server3.stop();