diff --git a/velox/connectors/hive/storage_adapters/gcs/tests/CMakeLists.txt b/velox/connectors/hive/storage_adapters/gcs/tests/CMakeLists.txt index e88c62ed589f9..3f3971981d717 100644 --- a/velox/connectors/hive/storage_adapters/gcs/tests/CMakeLists.txt +++ b/velox/connectors/hive/storage_adapters/gcs/tests/CMakeLists.txt @@ -39,5 +39,6 @@ target_link_libraries( velox_exec_test_lib velox_dwio_common_exception velox_exec + GTest::gmock GTest::gtest GTest::gtest_main) diff --git a/velox/connectors/hive/storage_adapters/gcs/tests/GCSInsertTest.cpp b/velox/connectors/hive/storage_adapters/gcs/tests/GCSInsertTest.cpp index 9f3a7b431ca75..639d79843fe89 100644 --- a/velox/connectors/hive/storage_adapters/gcs/tests/GCSInsertTest.cpp +++ b/velox/connectors/hive/storage_adapters/gcs/tests/GCSInsertTest.cpp @@ -39,6 +39,7 @@ namespace { class GCSInsertTest : public testing::Test, public test::VectorTestBase { protected: static void SetUpTestSuite() { + registerGCSFileSystem(); memory::MemoryManager::testingSetInstance({}); if (testbench_ == nullptr) { testbench_ = std::make_shared();