-
Notifications
You must be signed in to change notification settings - Fork 132
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 pipes instead of file for logging in tests #3074
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3eb1494
Remove unneded Sync + Send bounds
zeegomo ffde31a
Read child stdout from pipe instead of reading from file
zeegomo 6629598
Polish logger API
zeegomo 60e12a2
Use generics instead of trait objects
zeegomo 2296238
Refactor methods for interactive scenario tests
zeegomo c15c835
Add logger to NodeController
zeegomo 1740826
Build new RemoteJormungandr instead of cloning the old one
zeegomo 8e4c0ce
Add stdout to default logging configs
zeegomo 005da88
Use pipes instead of files for log
zeegomo 728c3b2
Move "is_up" verification from starter to process
zeegomo 4417ec1
Make it explicit that we are looking for an error in stderr
zeegomo 3de4423
Update error struct to remove log file path
zeegomo 3f49a43
Add aliases for legacy compatibility
zeegomo 5ec6643
Use new logger API
zeegomo 548d8e8
Fix clippy warning
zeegomo da9663a
remove unwrap
zeegomo a90028b
Implement Clone for DummySyncNode
zeegomo 483f1ae
Collect command output in scenario tests
zeegomo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
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.
Not really sure it's useful to put the full JSON content in a single error printout. Maybe the test fixture handling this error can re-parse the
logs
field and print the lines out nicely?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.
Maybe we could reuse log formatting from
tracing_subscriber::fmt
but I'm not sure if it can be used independently, need to check.