summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-10-25 11:12:43 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2024-10-25 11:24:58 +0200
commitf84e3442afed4f9e0eed31626a90a6fb31516b86 (patch)
treeaafeb562534e6c87f329ec5d644e32d40a2a6cd2
parentc12882183b4b69099f4d3977329eb61189291d92 (diff)
downloadjustbuild-f84e3442afed4f9e0eed31626a90a6fb31516b86.tar.gz
bazel_execution_client.test.cpp: add a comment to explain the meaning of the boolean "wait"
-rw-r--r--test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp3
1 files changed, 3 insertions, 0 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 e7df319b..4594de8e 100644
--- a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
@@ -93,6 +93,9 @@ TEST_CASE("Bazel internals: Execution Client", "[execution_api]") {
}
SECTION("Non-blocking, obtain result later") {
+ // note that the boolean false means do not wait for the stream to
+ // become available, and it has nothing to do with waiting until the
+ // action completes. This is WaitExecution's job :)
auto response = execution_client.Execute(
instance_name, *action_delayed, config, false);