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

When a retried test fails, show the first error #2181

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Sep 24, 2020

Issue Number

#2192

Overview

  • When both it attempt fails, show the first error, not the second.

Comments

If a test uses a finite resource, it cannot be retried, and will fail for another reason the second time. In this case, it is the first failure that is interesting.

In other circumstances, showing the first error instead of the second should still be fine.

Haven't actually tried this yet. Should maybe do that. Or add a test suite for test-utils.

If a test uses a finite resource, it cannot be retried, and will fail
for another reason the second time. In this case, it is the first
failure that is interesting.

In other circumstances, showing the first error instead of the second
should still be fine.
Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@KtorZ
Copy link
Member

KtorZ commented Sep 29, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 29, 2020

Build succeeded:

@iohk-bors iohk-bors bot merged commit 53fa6c2 into master Sep 29, 2020
@iohk-bors iohk-bors bot deleted the anviking/2119/retry branch September 29, 2020 14:58
iohk-bors bot added a commit that referenced this pull request Oct 2, 2020
2193: Add tests for Extra.it r=rvl a=Anviking

# Issue Number

#2192 


# Overview

- [x] I added a test suite for `cardano-wallet-test-utils` which could be useful
- [x] I added some basic tests for #2181


# Comments

<!-- 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)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
iohk-bors bot added a commit that referenced this pull request Oct 2, 2020
2193: Add tests for Extra.it r=Anviking a=Anviking

# Issue Number

#2192 


# Overview

- [x] I added a test suite for `cardano-wallet-test-utils` which could be useful
- [x] I added some basic tests for #2181


# Comments

<!-- 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)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants