From 7c0ae48bf9c7f0c412b2c10dd3899d0390bb2771 Mon Sep 17 00:00:00 2001 From: xiaoxmeng Date: Mon, 18 Dec 2023 21:21:25 -0800 Subject: [PATCH] Fix HttpTestSuite tests --- .../presto_cpp/main/http/tests/HttpTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/presto-native-execution/presto_cpp/main/http/tests/HttpTest.cpp b/presto-native-execution/presto_cpp/main/http/tests/HttpTest.cpp index 736472027c86..55611d608e4e 100644 --- a/presto-native-execution/presto_cpp/main/http/tests/HttpTest.cpp +++ b/presto-native-execution/presto_cpp/main/http/tests/HttpTest.cpp @@ -60,6 +60,10 @@ class HttpTestSuite : public ::testing::TestWithParam { } protected: + static void SetUpTestCase() { + memory::MemoryManager::testingSetInstance({}); + } + std::unique_ptr getServer( bool useHttps, const std::shared_ptr& ioPool = nullptr) {