-
Notifications
You must be signed in to change notification settings - Fork 205
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
Ledger API Tests: use real ledger ID everywhere. #1400
Conversation
461c398
to
ce5cc79
Compare
...g-utils/src/main/scala/com/digitalasset/ledger/api/testing/utils/AkkaBeforeAndAfterAll.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
.../lib/scala/com/digitalasset/platform/tests/integration/ledger/api/LedgerTestingHelpers.scala
Show resolved
Hide resolved
ledger/ledger-api-test-tool/src/main/scala/com/daml/ledger/api/testtool/ToolReporter.scala
Outdated
Show resolved
Hide resolved
ae4f53e
to
a2e30bb
Compare
21608ab
to
6492dd8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
acd74cb
to
7a29719
Compare
.../scala/com/digitalasset/platform/tests/integration/ledger/api/ActiveContractsServiceIT.scala
Outdated
Show resolved
Hide resolved
cdd158e
to
7f988dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice, but please address my comments about ResetServiceIT
.
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Outdated
Show resolved
Hide resolved
...ntegration-tests/src/test/lib/scala/com/digitalasset/platform/apitesting/LedgerContext.scala
Show resolved
Hide resolved
...st/itsuite/scala/com/digitalasset/platform/tests/integration/ledger/api/ResetServiceIT.scala
Outdated
Show resolved
Hide resolved
...st/itsuite/scala/com/digitalasset/platform/tests/integration/ledger/api/ResetServiceIT.scala
Show resolved
Hide resolved
5f0256b
to
9c4744e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gleber-da. Now only our CI is in your way! :)
9c4744e
to
be6a2b1
Compare
This fetches and caches ledger ID inside LedgerContext.SingleChannelContext to reduce number of calls into the Ledger API under test.
be6a2b1
to
e38a718
Compare
e38a718
to
455e80a
Compare
See individual commits for details.
Prerequisite for #1372
Pull Request Checklist
NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.