diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2022-07-11 19:55:10 +0200 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2022-08-05 14:41:31 +0200 |
commit | ee6f54124360d8a72b9b545dcc581f3c80d3c8a9 (patch) | |
tree | 20ab0e5e0e8132c30da0f99c401750d712fe00d0 /test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp | |
parent | 76c17ffa9e079fdd3d2a7159c02a1d9593e11930 (diff) | |
download | justbuild-ee6f54124360d8a72b9b545dcc581f3c80d3c8a9.tar.gz |
Modified artifact digest to provide wire digest on demand
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp')
-rwxr-xr-x | test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp index f0246fd7..79cc8ffa 100755 --- a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp @@ -11,7 +11,8 @@ TEST_CASE("Bazel internals: Execution Client", "[execution_api]") { std::string instance_name{"remote-execution"}; std::string content("test"); - auto test_digest = ArtifactDigest::Create(content); + auto test_digest = + static_cast<bazel_re::Digest>(ArtifactDigest::Create(content)); BazelExecutionClient execution_client(info->host, info->port); @@ -78,7 +79,8 @@ TEST_CASE("Bazel internals: Execution Client using env variables", std::string instance_name{"remote-execution"}; std::string content("contents of env variable"); - auto test_digest = ArtifactDigest::Create(content); + auto test_digest = + static_cast<bazel_re::Digest>(ArtifactDigest::Create(content)); BazelExecutionClient execution_client(info->host, info->port); |