commit | b612b8dfc5871e6196ec7fbc12099693e5a97afe | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Jun 14 10:04:18 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 14 17:22:14 2022 +0000 |
tree | 8901839a9d01120e41d35c425ab3aa8a124e2b74 | |
parent | 5b95c71e7d722d84e3b5ecab8631988f91e5002c [diff] |
luci_config: Fail if a step fails Change-Id: Ibd5af323abcda95d76cfa28f0953b7dae89fc5ce Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/98060 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Ted Pudlik <tpudlik@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/recipes/luci_config.py b/recipes/luci_config.py index 9102939..f6a8cc7 100644 --- a/recipes/luci_config.py +++ b/recipes/luci_config.py
@@ -63,7 +63,9 @@ ] futures.append(api.futures.spawn(api.step, relative_path, cmd)) - api.futures.wait(futures) + api.futures.wait(futures) + for f in futures: + f.result() def GenTests(api):