Skip to content

Commit

Permalink
reduce duplication on conformance test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dasormeter committed Jul 13, 2021
1 parent 31cbabd commit 1ed2780
Showing 1 changed file with 17 additions and 35 deletions.
52 changes: 17 additions & 35 deletions ledger/ledger-on-sql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,23 @@ conformance_test(
],
)

conformance_test(
name = "conformance-test-append-only-in-memory-fan-out-oracle",
ports = [6865],
server = ":conformance-test-oracle-bin",
server_args = [
"--contract-id-seeding=testing-weak",
"--participant participant-id=conformance-test,port=6865,contract-state-cache-max-size=1,contract-key-state-cache-max-size=1,ledger-api-transactions-buffer-max-size=10",
"--index-append-only-schema-unsafe",
"--mutable-contract-state-cache-unsafe",
"--buffered-ledger-api-streams-unsafe",
],
tags = [] if oracle_testing else ["manual"],
test_tool_args = [
"--verbose",
],
)

conformance_test(
name = "conformance-test-append-only-pruning-postgres",
ports = [6865],
Expand Down Expand Up @@ -546,41 +563,6 @@ conformance_test(
],
)

conformance_test(
name = "conformance-test-append-only-in-memory-fan-out-oracle",
ports = [6865],
server = ":conformance-test-oracle-bin",
server_args = [
"--contract-id-seeding=testing-weak",
"--participant participant-id=conformance-test,port=6865,contract-state-cache-max-size=1,contract-key-state-cache-max-size=1,ledger-api-transactions-buffer-max-size=10",
"--index-append-only-schema-unsafe",
"--mutable-contract-state-cache-unsafe",
"--buffered-ledger-api-streams-unsafe",
],
tags = [] if oracle_testing else ["manual"],
test_tool_args = [
"--verbose",
],
)

conformance_test(
name = "conformance-test-append-only-multi-party-submission-fan-out-oracle",
ports = [6865],
server = ":conformance-test-oracle-bin",
server_args = [
"--contract-id-seeding=testing-weak",
"--participant participant-id=conformance-test,port=6865,contract-state-cache-max-size=1,contract-key-state-cache-max-size=1,ledger-api-transactions-buffer-max-size=10",
"--index-append-only-schema-unsafe",
"--mutable-contract-state-cache-unsafe",
"--buffered-ledger-api-streams-unsafe",
],
tags = [] if oracle_testing else ["manual"],
test_tool_args = [
"--verbose",
"--include=MultiPartySubmissionIT",
],
)

conformance_test(
name = "conformance-test-multi-party-submission-oracle",
ports = [6865],
Expand Down

0 comments on commit 1ed2780

Please sign in to comment.