diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2023-01-18 14:26:14 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2023-01-20 11:58:07 +0100 |
commit | 3d95b0adc81d155ad9020e9efbc50799c89953ff (patch) | |
tree | f7b391ff47439a4d09b1309326b9d6bbcef13654 /test/utils/remote_execution/main-remote-execution.cpp | |
parent | fe8983f3444ca0f287d54d673ddda3aa9fb1a17c (diff) | |
download | justbuild-3d95b0adc81d155ad9020e9efbc50799c89953ff.tar.gz |
tests: pass tls certificates and key
Diffstat (limited to 'test/utils/remote_execution/main-remote-execution.cpp')
-rw-r--r-- | test/utils/remote_execution/main-remote-execution.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp index 32774a65..952b025e 100644 --- a/test/utils/remote_execution/main-remote-execution.cpp +++ b/test/utils/remote_execution/main-remote-execution.cpp @@ -37,6 +37,9 @@ void wait_for_grpc_to_shutdown() { /// \returns true If remote execution was successfully configured. [[nodiscard]] auto ConfigureRemoteExecution() -> bool { ReadCompatibilityFromEnv(); + if (not ReadTLSAuthArgsFromEnv()) { + return false; + } HashFunction::SetHashType(Compatibility::IsCompatible() ? HashFunction::JustHash::Compatible : HashFunction::JustHash::Native); |