daml/compatibility/bazel_tools
Moritz Kiefer b12a19181e
Add a --timeout option to daml ledger commands (#6774)
* Add a --timeout option to `daml ledger` commands

At least in the compatibility tests, we see timeouts fairly regularly
in the tests for fetch-dar. If we see those timeouts in the tests, I
see no reason why our users should never see that especially on
actually distributed ledgers and hardcoded timeouts are a bad idea
anyway so now they are configurable.

I’ve also changed the timeout for the fetch tests (those are the only
once I’ve seen timeout) to 120s.

changelog_begin

- [DAML Assistant] The `daml ledger` commands now accept a `--timeout`
  option which can be used to change the timeout for API requests from
  the default of 30s.

changelog_end

* Generate parties as uuids to avoid collisions

changelog_begin
changelog_end

* Match on Deadline Exceeded as well

changelog_begin
changelog_end

* Update compatibility/bazel_tools/test_utils/DA/Test/Util.hs

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

* Update daml-assistant/daml-helper/src/DA/Daml/Helper/Main.hs

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

* Add some docs

changelog_begin
changelog_end

* Better version checks

changelog_begin
changelog_end

* fix imports

changelog_begin
changelog_end

* This is not how you exception

changelog_begin
changelog_end

* Update daml-assistant/daml-helper/src/DA/Daml/Helper/Main.hs

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2020-07-17 16:35:55 +02:00
..
client_server Share postgres instance in compatibility tests (#6504) 2020-06-26 11:18:57 +02:00
create-daml-app Undo lodash hack (#6771) 2020-07-17 12:01:23 +00:00
daml_ledger Add a --timeout option to daml ledger commands (#6774) 2020-07-17 16:35:55 +02:00
daml_script Implement version name shortening for Windows (#5863) 2020-05-06 11:48:07 +00:00
daml_trigger Setup compatibility tests for DAML Trigger (#6112) 2020-05-27 12:32:37 +00:00
data_dependencies Validate data-dependencies test DARs (#6320) 2020-06-12 17:21:00 +00:00
test_utils Add a --timeout option to daml ledger commands (#6774) 2020-07-17 16:35:55 +02:00
BUILD Add platform-version field to daml.yaml (#6736) 2020-07-15 16:30:01 +02:00
create_daml_app_test.sh Speed-up create-daml-app compat tests (#6087) 2020-05-25 16:25:10 +02:00
daml_ledger_test.sh Include daml ledger tests in compatibility tests (#5740) 2020-04-27 16:13:16 +00:00
daml_sdk.bzl Reduce the number of runfiles in the compatibility tests (#6670) 2020-07-09 17:15:16 +00:00
daml.cc.tpl Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
sandbox-with-postgres.sh Include sadbonx-classic in compatibility tests (#6399) 2020-06-19 15:55:39 +02:00
testing.bzl Fix ledger-api-test-tool exclusions (#6589) 2020-07-02 17:43:53 +02:00
versions.bzl Setup compatibility tests for DAML Trigger (#6112) 2020-05-27 12:32:37 +00:00