-
Notifications
You must be signed in to change notification settings - Fork 721
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
Improve test output #4575
Improve test output #4575
Conversation
fe66fc5
to
68cf8be
Compare
Replaces #3596 |
68cf8be
to
41920b8
Compare
41920b8
to
6715b0b
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.
LGTM but there is an hlint error
import Data.Monoid (Last (..)) | ||
import Data.Set (Set) | ||
import qualified Data.Set as Set |
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.
👍
6715b0b
to
0ac5f32
Compare
0ac5f32
to
62198f6
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.
LGTM
bors r+ |
4575: Improve test output r=newhoggy a=newhoggy Exceptions in tests (for example from partial functions) cause failure without line number which makes the cause difficult to find. This PR switches to use functions that accurately convey location of failure in the test. Use `byDeadlineM` instead of `assertByDeadlineM`, which allows specifying a period. This allows a longer poll time to be used so the test output isn't as spammy. Co-authored-by: John Ky <[email protected]>
This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried. Additional information: {"message":"Waiting on code owner review from CarlosLopezDeLara, JaredCorduan, Jimbo4350, LudvikGalois, dcoutts, erikd, and/or input-output-hk/devops.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
bors r+ |
4575: Improve test output r=Jimbo4350 a=newhoggy Exceptions in tests (for example from partial functions) cause failure without line number which makes the cause difficult to find. This PR switches to use functions that accurately convey location of failure in the test. Use `byDeadlineM` instead of `assertByDeadlineM`, which allows specifying a period. This allows a longer poll time to be used so the test output isn't as spammy. Co-authored-by: John Ky <[email protected]>
Build failed: |
bors r+ |
4575: Improve test output r=newhoggy a=newhoggy Exceptions in tests (for example from partial functions) cause failure without line number which makes the cause difficult to find. This PR switches to use functions that accurately convey location of failure in the test. Use `byDeadlineM` instead of `assertByDeadlineM`, which allows specifying a period. This allows a longer poll time to be used so the test output isn't as spammy. Co-authored-by: John Ky <[email protected]>
62198f6
to
4ca121f
Compare
4ca121f
to
3f3a761
Compare
bors r+ |
Build succeeded: |
Exceptions in tests (for example from partial functions) cause failure without line number which makes the cause difficult to find. This PR switches to use functions that accurately convey location of failure in the test.
Use
byDeadlineM
instead ofassertByDeadlineM
, which allows specifying a period. This allows a longer poll time to be used so the test output isn't as spammy.