diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-13 13:30:13 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-06-13 15:55:41 +0200 |
commit | e4bbf59415e610fc090572aff29cd20cdb9c41f8 (patch) | |
tree | 41f8f3e3fae12c6ea21e4ac18d124dad08e6748c /test/buildtool/execution_api/bazel/bazel_network.test.cpp | |
parent | 47bb77c39199ae4842f79347de076a4534f7d310 (diff) | |
download | justbuild-e4bbf59415e610fc090572aff29cd20cdb9c41f8.tar.gz |
RemoteExecutionConfig: Keep global platform properties
... and cache endpoint address for rebuilding.
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_network.test.cpp')
-rw-r--r-- | test/buildtool/execution_api/bazel/bazel_network.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_network.test.cpp b/test/buildtool/execution_api/bazel/bazel_network.test.cpp index 6a668406..b67013a0 100644 --- a/test/buildtool/execution_api/bazel/bazel_network.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_network.test.cpp @@ -8,9 +8,9 @@ constexpr std::size_t kLargeSize = GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH + 1; TEST_CASE("Bazel network: write/read blobs", "[execution_api]") { - auto const& info = RemoteExecutionConfig::Instance(); + auto const& info = RemoteExecutionConfig::RemoteAddress(); std::string instance_name{"remote-execution"}; - auto network = BazelNetwork{instance_name, info.Host(), info.Port(), {}}; + auto network = BazelNetwork{instance_name, info->host, info->port, {}}; std::string content_foo("foo"); std::string content_bar("bar"); |