daml/libs-haskell/da-hs-base
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
..
src Add eager timeouts to the polling functions used in daml start and assistant integration tests. (#12361) 2022-01-12 10:01:56 +00:00
tests update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
BUILD.bazel Add eager timeouts to the polling functions used in daml start and assistant integration tests. (#12361) 2022-01-12 10:01:56 +00:00
da-hs-base.cabal DEL-8657 update version info for Haskell LF libraries (#10160) 2021-07-02 09:46:53 +10:00
LICENSE open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

Base library for DA Haskell code

The libraries provided by Hackage adapted to the needs of DA.

The intention of this version of this library published as part of Simon Meier's HaskellerZ talk on 2016-01-27 is that it serves as an inspirational source for how to adapt Hackage to a company's needs. DA currently does not plan to provide an officially supported version of this library. However, we very much encourage people to take and reshape this code into a library that allows to share this kind of Hackage-adaption-code.

Slides Video