Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command dedup conformance suites readme #11051

Merged
merged 2 commits into from
Sep 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions ledger/ledger-api-test-tool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Suites

nicu-da marked this conversation as resolved.
Show resolved Hide resolved
### Command deduplication suites
nicu-da marked this conversation as resolved.
Show resolved Hide resolved

* 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| trackerRetentionPeriod has to be set to <= 5s | Requires append only schema so that we have access to the submission id |
nicu-da marked this conversation as resolved.
Show resolved Hide resolved