diff options
Diffstat (limited to 'test/buildtool/graph_traverser/graph_traverser_remote.test.cpp')
-rw-r--r-- | test/buildtool/graph_traverser/graph_traverser_remote.test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp index d92b9ef9..bf3dfe02 100644 --- a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp +++ b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp @@ -13,6 +13,7 @@ // limitations under the License. #include "catch2/catch_test_macros.hpp" +#include "src/buildtool/common/protocol_traits.hpp" #include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/storage/config.hpp" @@ -34,7 +35,7 @@ StorageConfig::Builder builder; auto config = builder.SetBuildRoot(cache_dir) - .SetHashType(Compatibility::IsCompatible() + .SetHashType(ProtocolTraits::Instance().IsCompatible() ? HashFunction::Type::PlainSHA256 : HashFunction::Type::GitSHA1) .SetRemoteExecutionArgs(remote_config.remote_address, |