From 3d95b0adc81d155ad9020e9efbc50799c89953ff Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Wed, 18 Jan 2023 14:26:14 +0100 Subject: tests: pass tls certificates and key --- test/utils/remote_execution/main-remote-execution.cpp | 3 +++ 1 file changed, 3 insertions(+) (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 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); -- cgit v1.2.3