-
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
Attempt to fix "Gave up!" problem in prop_balanceTransactionUnresolvedInputs #3212
Merged
iohk-bors
merged 3 commits into
master
from
anviking/ADP-1590/fix-unresolved-input-property
Apr 1, 2022
Merged
Attempt to fix "Gave up!" problem in prop_balanceTransactionUnresolvedInputs #3212
iohk-bors
merged 3 commits into
master
from
anviking/ADP-1590/fix-unresolved-input-property
Apr 1, 2022
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
- Simply removing `==>` seems to work fine, and make it more likely to pass. - Remove `withMaxSuccess` because it seems to be doing nothing in conjunction with `checkCoverage`.
Anviking
force-pushed
the
anviking/ADP-1590/fix-unresolved-input-property
branch
from
March 31, 2022 11:41
7c59a5b
to
581bc08
Compare
jonathanknowles
approved these changes
Apr 1, 2022
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 okay to me!
I only have one suggestion: it looks like one of the comments has a typo: I've provided a suggested fix. (I suspect it's not correct, but feel free to point out if I'm mistaken!)
lib/shelley/test/unit/Cardano/Wallet/Shelley/TransactionSpec.hs
Outdated
Show resolved
Hide resolved
Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io>
bors r+ |
iohk-bors bot
added a commit
that referenced
this pull request
Apr 1, 2022
3212: Attempt to fix "Gave up!" problem in prop_balanceTransactionUnresolvedInputs r=Anviking a=Anviking <!-- Detail in a few bullet points the work accomplished in this PR. Before you submit, don't forget to: * Make sure the GitHub PR fields are correct: ✓ Set a good Title for your PR. ✓ Assign yourself to the PR. ✓ Assign one or more reviewer(s). ✓ Link to a Jira issue, and/or other GitHub issues or PRs. ✓ In the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages. * Don't waste reviewers' time: ✓ If it's a draft, select the Create Draft PR option. ✓ Self-review your changes to make sure nothing unexpected slipped through. * Try to make your intent clear: ✓ Write a good Description that explains what this PR is meant to do. ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding Jira ticket. ✓ Highlight what Testing you have done. ✓ Acknowledge any changes required to the Documentation. --> - Simply removing `==>` seems to work fine, and I believe makes it more likely to pass. - Remove `withMaxSuccess` because it seems to be doing nothing in conjunction with `checkCoverage`. ### Comments - I'm not entirely sure of the interplay between the various `==>`, `checkCoverage`, etc, not certain that this _for sure_ is a fix, however, it can't hurt to try. ``` $ cabal run cardano-wallet:test:unit -- --match "unresolved inputs" --seed 1053383965 Cardano.Wallet.Shelley.Transaction balanceTransaction when passed unresolved inputs may fail (1697ms) +++ OK, passed 100 tests: 10% unknown txins 87% other error 3% nothing dropped Finished in 1.6980 seconds, used 1.7075 seconds of CPU time 1 example, 0 failures ``` <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-1590 <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
Build failed:
|
bors r+ |
iohk-bors bot
added a commit
that referenced
this pull request
Apr 1, 2022
3212: Attempt to fix "Gave up!" problem in prop_balanceTransactionUnresolvedInputs r=Anviking a=Anviking <!-- Detail in a few bullet points the work accomplished in this PR. Before you submit, don't forget to: * Make sure the GitHub PR fields are correct: ✓ Set a good Title for your PR. ✓ Assign yourself to the PR. ✓ Assign one or more reviewer(s). ✓ Link to a Jira issue, and/or other GitHub issues or PRs. ✓ In the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages. * Don't waste reviewers' time: ✓ If it's a draft, select the Create Draft PR option. ✓ Self-review your changes to make sure nothing unexpected slipped through. * Try to make your intent clear: ✓ Write a good Description that explains what this PR is meant to do. ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding Jira ticket. ✓ Highlight what Testing you have done. ✓ Acknowledge any changes required to the Documentation. --> - Simply removing `==>` seems to work fine, and I believe makes it more likely to pass. - Remove `withMaxSuccess` because it seems to be doing nothing in conjunction with `checkCoverage`. ### Comments - I'm not entirely sure of the interplay between the various `==>`, `checkCoverage`, etc, not certain that this _for sure_ is a fix, however, it can't hurt to try. ``` $ cabal run cardano-wallet:test:unit -- --match "unresolved inputs" --seed 1053383965 Cardano.Wallet.Shelley.Transaction balanceTransaction when passed unresolved inputs may fail (1697ms) +++ OK, passed 100 tests: 10% unknown txins 87% other error 3% nothing dropped Finished in 1.6980 seconds, used 1.7075 seconds of CPU time 1 example, 0 failures ``` <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-1590 <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: Johannes Lund <johannes.lund@iohk.io>
Build failed: |
It seems they have expired again...
bors r+ |
Build succeeded: |
iohk-bors
bot
deleted the
anviking/ADP-1590/fix-unresolved-input-property
branch
April 1, 2022 13:43
WilliamKingNoel-Bot
pushed a commit
that referenced
this pull request
Apr 1, 2022
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.
==>
seems to work fine, and I believe makes it more likely topass.
withMaxSuccess
because it seems to be doing nothing inconjunction with
checkCoverage
.Comments
==>
,checkCoverage
, etc, not certain that this for sure is a fix, however, it can't hurt to try.Issue Number
ADP-1590