-
Notifications
You must be signed in to change notification settings - Fork 217
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
Timeout earlier on SQLITE_BUSY when deleting wallets in tests #2696
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Anviking
force-pushed
the
anviking/ADP-827/delete-timeout
branch
from
June 9, 2021 19:14
18f5e2a
to
8a9b48e
Compare
Anviking
force-pushed
the
anviking/ADP-827/delete-timeout
branch
from
June 9, 2021 19:15
8a9b48e
to
a9f46dd
Compare
rvl
approved these changes
Jun 10, 2021
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 @Anviking - this should hopefully improve the integration tests.
rvl
force-pushed
the
anviking/ADP-827/delete-timeout
branch
from
June 10, 2021 06:24
2cc7b05
to
40428f4
Compare
bors r+ |
iohk-bors bot
added a commit
that referenced
this pull request
Jun 10, 2021
2696: Timeout earlier on SQLITE_BUSY when deleting wallets in tests r=rvl a=Anviking # Issue Number ADP-827 # Overview - [x] Set `CARDANO_WALLET_INTEGRATION` env var in integration tests - [x] Change timeout to close all connections from `60s` to `2s` if `CARDANO_WALLET_INTEGRATION` is set. # Comments - Workaround that should make CI faster (and perhaps a bit more stable), until we have time to investigate and address the underlying issue and its effects in production. The problem in production is likely much less serious, as users likely don't create and delete wallets as often as in our integration tests. - Locally, running `stack test cardano-wallet:integration --ta '-j 6'` I get: - 2s -> 335s - 5s -> 380s - 60s (without the `setEnv`) -> 1190s So that's why I went with 2s rather than 5s. <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding ticket ✓ Acknowledge any changes required to the Wiki ✓ Finally, in the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages. --> 2697: E2E golden tests cardano-wallet vs. cardano-addresses account xpub (including purpose) r=rvl a=piotr-iohk # Issue Number ADP-950 # Overview - 0ded5ef E2E golden tests cardano-wallet vs. cardano-addresses account xpub (including purpose) # Comments While testing purpose addition to https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postAccountKey endpoint I have extended existing e2e tests to assert if the returned keys are the same as produced by cardano-addresses. Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
Build failed (retrying...):
|
Build succeeded: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Number
ADP-827
Overview
CARDANO_WALLET_INTEGRATION
env var in integration tests60s
to2s
ifCARDANO_WALLET_INTEGRATION
is set.Comments
stack test cardano-wallet:integration --ta '-j 6'
I get:setEnv
) -> 1190sSo that's why I went with 2s rather than 5s.