daml/ledger/ledger-api-test-tool
fabiotudone-da d4cb1f945e
KV ledgers: disable participant side command de-duplication [KVL-1083] (#11095)
* Extract common code for command dedup conformance tests

CHANGELOG_BEGIN

CHANGELOG_END

* Revert changes for parallel tests

* Fix compile warnings

* Disable participant deduplication for KV

CHANGELOG_BEGIN
CHANGELOG_END

* Always call submitRequestAndAssertDeduplication with parties

* Fix party in CommandDeduplicationBase

* Don't test KV-based command deduplication with static time as it's broken

* Don't disable participant-side command deduplication for sandbox-next on static time

* Revert "Don't test KV-based command deduplication with static time as it's broken"

This reverts commit 3dac41aa

* Add missing dependency

* Don't cross-test this ledger API test tool with existing versions

* Add the current PR to the list of PRs that resulted in exclusions

* Apply @garyverhaegen-da's suggestion for compatibility exclusions

Co-authored-by: Nicu Reut <nicu.reut@digitalasset.com>
2021-10-05 13:31:53 +02:00
..
src KV ledgers: disable participant side command de-duplication [KVL-1083] (#11095) 2021-10-05 13:31:53 +02:00
BUILD.bazel [DPP-622] Add conformance tests that verifies TLSv1.0 and TLSv1 are disabled. (#10983) 2021-09-27 18:00:52 +02:00
conformance.bzl bazel-tools: Replace runner with either runner_with_port_check or runner_with_port_file. (#10615) 2021-08-18 15:23:45 +00:00
README.md Command dedup conformance suites readme (#11051) 2021-09-29 19:43:17 -07:00
test-extract.sh Fix --extract option in ledger api test tool (#9029) 2021-03-04 18:32:18 +00:00
util.bzl Reactive canton conformance test aginst LF 1.13 (#10458) 2021-08-02 19:43:37 +02:00

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.