daml/bazel_tools
Sofia Faro 09013eb501
Add eager timeouts to the polling functions used in daml start and assistant integration tests. (#12361)
* Add timeouts to polling funcs in daml start.

This PR adds timeouts to some polling functions used in daml start and
the assistant integration tests, and also early exits based on a process
exit status. E.g. waitForHttpServer will make sure some process is
still running, instead of waiting to timeout.

The effect of this is that now whenever there is some error in a
subprocess, daml start and the integration tests will finish early
instead of running forever (or timing out in bazel).

changelog_begin
changelog_end

* missing a readPortFile instance
2022-01-12 10:01:56 +00:00
..
client_server Add eager timeouts to the polling functions used in daml start and assistant integration tests. (#12361) 2022-01-12 10:01:56 +00:00
dev_env_tool update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
java_testing update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
packaging update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
runfiles update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
scala update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
scalapb update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
build_environment.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
BUILD.bazel update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
create_workspace.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
damlc_legacy.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
fat_cc_library.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
ghc_dwarf.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
googleapis-status-proto.patch Update protobuf docs plugin (#11880) 2021-11-25 20:51:24 +00:00
grpc-bazel-apple.patch Pin rules_apple (#6845) 2020-07-24 09:47:05 +02:00
grpc-bazel-mingw.patch Upgrade gRPC C library (#8693) 2021-02-01 16:11:06 +01:00
grpc-haskell-core-cpp-options.patch Replace Hazel by stack_snapshot (#2743) 2019-11-22 14:24:08 +00:00
grpc-haskell-core-upgrade.patch Upgrade gRPC C library (#8693) 2021-02-01 16:11:06 +01:00
haskell_proto3_suite_deriving_defaults.patch Disable deriving-defaults per file (#8684) 2021-01-29 11:01:55 +00:00
haskell-c2hs.patch Building c2hs (#355) 2019-04-10 15:12:08 +02:00
haskell-cabal-reproducible.patch Use more deterministic distdir path in haskell_cabal_* (#11963) 2021-12-02 19:25:26 +00:00
haskell-ghcide-binary-q.patch Enable assertions in Haskell builds (#6853) 2020-07-24 14:29:25 +00:00
haskell-hie-bios.patch Bump ghc-ghcide (#2936) 2019-09-18 10:29:02 +02:00
haskell-js-dgtable.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-js-flot.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-js-jquery.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-lsp-test-no-reexport.patch Bump ghcide and upgrade to lsp/lsp-types (#10139) 2021-06-30 12:16:12 +00:00
haskell-opt.patch Use more deterministic distdir path in haskell_cabal_* (#11963) 2021-12-02 19:25:26 +00:00
haskell-shake.patch Embed shake data-files via TH (#4584) 2020-02-18 17:53:27 +01:00
haskell-windows-extra-libraries.patch Use more deterministic distdir path in haskell_cabal_* (#11963) 2021-12-02 19:25:26 +00:00
haskell-zip.patch Bump ghcide and upgrade to lsp/lsp-types (#10139) 2021-06-30 12:16:12 +00:00
haskell.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
hlint.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
java.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
javadoc_library.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
lsp-types-normalisation.patch lsp-types patch for platform independence (#10288) 2021-08-04 21:33:52 +02:00
nixpkgs-disable-http2.patch upgrade rules_nixpkgs (#8078) 2020-11-30 14:36:46 +00:00
oracle.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
os_info.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
pkg.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
pom_file.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
pom_template.xml rename master to main (#8245) 2020-12-27 14:19:07 +01:00
proto.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
remote_apis_no_services.patch Clean broken entries from the Bazel cache (#8668) 2021-01-28 17:57:09 +00:00
rules_nodejs_bash.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
rules_nodejs_node_dependency.patch Upgrade rules-nodejs (#11290) 2021-10-19 14:13:55 +00:00
rules_nodejs_npm_cli_path.patch Upgrade rules-nodejs (#11290) 2021-10-19 14:13:55 +00:00
scala_version.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
scala-escape-jvmflags.patch Upgrade rules_scala (#6883) 2020-07-28 08:53:12 +00:00
scala.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
scalapb.bzl update copyright headers (#12240) 2022-01-03 16:36:51 +00:00