From 5140befaa10f65145fe041b416b7764127efc379 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 4 Jul 2024 12:25:20 +0200 Subject: Convert Storage to a general class --- test/utils/remote_execution/main-remote-execution.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/utils/remote_execution/main-remote-execution.cpp') diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp index 9c6edbc1..a691860a 100644 --- a/test/utils/remote_execution/main-remote-execution.cpp +++ b/test/utils/remote_execution/main-remote-execution.cpp @@ -24,9 +24,10 @@ #include "src/buildtool/compatibility/compatibility.hpp" #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" +#include "src/buildtool/file_system/git_context.hpp" #include "src/buildtool/logging/log_level.hpp" #include "src/buildtool/logging/logger.hpp" -#include "src/buildtool/storage/storage.hpp" +#include "src/buildtool/storage/config.hpp" #include "test/utils/logging/log_config.hpp" #include "test/utils/remote_execution/test_auth_config.hpp" #include "test/utils/test_env.hpp" @@ -73,9 +74,6 @@ void wait_for_grpc_to_shutdown() { not StorageConfig::Instance().SetBuildRoot(cache_dir)) { return false; } - // After the build root has been changed, the file roots of the - // static storage instances need to be updated. - Storage::Reinitialize(); return true; } -- cgit v1.2.3