-
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
Use LineBuffering in unit tests #2723
Conversation
We use it in the integration tests. Maybe it will improve the unit timeouts or our understanding of it - could be worth a shot.
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.
Oh yes, I was going to mention this but forgot... With this change we will see exactly where it gets stuck.
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.
Good thanks - I added a Test.Utils.Startup.withLineBuffering
function for this, and slightly reorganised the Test.Utils.
modules.
bors r+ |
2721: Ensure faucet setup runs on BFT node without rollbacks r=rvl a=Anviking # Issue Number ADP-970, #2720, #2428 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] Ensure faucet setup runs on BFT node, such that rollbacks can't mess it up # 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) ✓ 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. --> 2723: Use LineBuffering in unit tests r=rvl a=Anviking # Issue Number ADP-970 / #2472 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] Try using line buffering in unit tests, like we do for integration tests # 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) ✓ 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. --> Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed (retrying...): #duplicate |
2723: Use LineBuffering in unit tests r=rvl a=Anviking # Issue Number ADP-970 / #2472 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - [x] Try using line buffering in unit tests, like we do for integration tests # 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) ✓ 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. --> Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed:
|
bors r+ |
Build succeeded: |
Issue Number
ADP-970 / #2472
Overview
Comments