mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
b1a6b11d47
* ledger-api-test-tool: Add command line argument --static-time which makes the test tool aware that the ledger is running in static time For command deduplication conformance tests this allows us to forward the time so that the tests can run in static time mode as well CHANGELOG_BEGIN CHANGELOG_END * Update ledger/ledger-api-test-tool/src/main/scala/com/daml/ledger/api/testtool/Cli.scala * Do not run conformance test that cannot run in static time * Remove hidden from static time flag for ledger api test tool * ledger-api-test-tool: Clarify parts of the deduplication tests. Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> Co-authored-by: Fabio Tudone <fabio.tudone@digitalasset.com> |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel | ||
conformance.bzl | ||
README.md | ||
test-extract.sh | ||
util.bzl |
Command deduplication test suites
As different ledgers have different support for command deduplication, we provide multiple test suites which try to be as comprehensive as possible for all the various ledgers
- default - is it a default test suite which does not need to be included explicitly
- append-only - Requires the schema to be append-only because we use the submission id set in the completion, which is present only for append-only schemas
- configuration-required - If it requires specific settings to be set for the ledger configuration
Name | Default | Append only | Configuration required | Details |
---|---|---|---|---|
CommandDeduplicationIT | Yes | No | No | Tests participant deduplication |
KVCommandDeduplicationIT | No | No | minSkew set to 1 second. maxDeduplicationDuration has to be < 5s | Extends the test cases from CommandDeduplicationIT with committer side test cases. Requires the time model update because KV committer deduplication is based on maxDeduplicationDuration + minSkew |
AppendOnlyKVCommandDeduplicationIT | No | Yes | Same as KVCommandDeduplicationIT | Same as KVCommandDeduplicationIT but it requires an append-only schema so that we have access to the submission id |
AppendOnlyCommandDeduplicationParallelIT | No | Yes | No | Requires append only schema so that we have access to the submission id. |