-
Notifications
You must be signed in to change notification settings - Fork 243
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
substrate runner: increase line read + dump CLI output if parsing fails #1781
Conversation
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.
Nice: hopefully that'll make it easier to debug failures!
testing/integration-tests/src/full_client/client/unstable_rpcs.rs
Outdated
Show resolved
Hide resolved
testing/integration-tests/src/full_client/client/unstable_rpcs.rs
Outdated
Show resolved
Hide resolved
@@ -301,7 +304,43 @@ fn try_find_substrate_port_from_output( | |||
.unwrap_or_else(|_| panic!("valid port expected for log line, got '{port_str}'")); | |||
p2p_port = Some(port_num); | |||
} | |||
|
|||
if port.is_some() && p2p_address.is_some() && p2p_port.is_some() { |
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.
bail early if we found our ports
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.
ooh good catch!
No description provided.