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

Start porting the transaction service integration tests #2713

Merged
merged 15 commits into from
Sep 2, 2019
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
af05a87
Start porting the transaction service integration tests
stefanobaghino-da Aug 27, 2019
2f41b1c
Simplify creation of multiple contract in a single transaction
stefanobaghino-da Aug 30, 2019
a46d2a3
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
f62f594
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
7be8d6b
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
c46eecc
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
9009d84
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
d795e41
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
bc7320b
Fix test case description
stefanobaghino-da Sep 2, 2019
9c94302
Fix test case description for disclosure
stefanobaghino-da Sep 2, 2019
9cf240d
Fix test description of parallel requests test case
stefanobaghino-da Sep 2, 2019
cf1d1d3
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
edbec50
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
3be1b23
Address https://github.com/digital-asset/daml/pull/2713#discussion_r3…
stefanobaghino-da Sep 2, 2019
3153aa5
Run all conformance tests in exclusive mode
stefanobaghino-da Sep 2, 2019
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
Prev Previous commit
Next Next commit
Address #2713 (comment)
  • Loading branch information
stefanobaghino-da committed Sep 2, 2019
commit 3be1b233f0c85d4c46dfb48c245699fbe1ca4111
Original file line number Diff line number Diff line change
Expand Up @@ -420,15 +420,19 @@ class TransactionService(session: LedgerSession) extends LedgerTestSuite(session
}

private[this] val discloseCreateToSignatory =
stefanobaghino-da marked this conversation as resolved.
Show resolved Hide resolved
LedgerTest("TXDiscloseCreateToSignatory", "Disclose create to the submitting signatory") {
LedgerTest("TXDiscloseCreateToSignatory", "Disclose create to the chosen branching controller") {
ledger =>
for {
Vector(alice, bob, eve) <- ledger.allocateParties(3)
template = BranchingControllers(alice, true, bob, eve)
_ <- ledger.create(alice, template)
transactions <- ledger.flatTransactions(alice)
aliceView <- ledger.flatTransactions(alice)
bobView <- ledger.flatTransactions(bob)
evesView <- ledger.flatTransactions(eve)
} yield {
assert(template.arguments == transactions.head.events.head.getCreated.getCreateArguments)
assert(template.arguments == aliceView.head.events.head.getCreated.getCreateArguments)
assert(template.arguments == bobView.head.events.head.getCreated.getCreateArguments)
assert(evesView.isEmpty)
}
}

Expand Down