test: add test case for cache and fix some issue

This commit is contained in:
Nick Peng
2023-03-20 23:41:34 +08:00
parent aa6f6fd519
commit bf68385d0e
11 changed files with 405 additions and 47 deletions

View File

@@ -30,7 +30,7 @@ class Perf : public ::testing::Test
virtual void TearDown() {}
};
TEST(Perf, no_speed_check)
TEST_F(Perf, no_speed_check)
{
smartdns::MockServer server_upstream;
smartdns::Server server;