-
Notifications
You must be signed in to change notification settings - Fork 803
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
Make iochaos wait for toda startup (#1545) #1712
Conversation
/hold |
* Make iochaos wait for toda startup Signed-off-by: AsterNighT <klxjt99@outlook.com> * Waiting for a toda upgrade for testing Signed-off-by: AsterNighT <klxjt99@outlook.com> * Update rpc signaturte due to toda update Signed-off-by: AsterNighT <klxjt99@outlook.com> * Add time out for rpc call Signed-off-by: AsterNighT <klxjt99@outlook.com> * Fix issue cause by waiting for stdin to close Signed-off-by: AsterNighT <klxjt99@outlook.com> * Update boilerplate Signed-off-by: AsterNighT <klxjt99@outlook.com> * Remove an unnecessary error check Signed-off-by: AsterNighT <klxjt99@outlook.com> * Run make check Signed-off-by: AsterNighT <klxjt99@outlook.com> * Back to an older version of etherum rpc to resolve compatibility issue Signed-off-by: AsterNighT <klxjt99@outlook.com> * Back more Signed-off-by: AsterNighT <klxjt99@outlook.com> Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com> Signed-off-by: AsterNighT <klxjt99@outlook.com>
/unhold |
if kerr := s.killIoChaos(ctx, int64(cmd.Process.Pid), ct); kerr != nil { | ||
log.Error(kerr, "kill toda failed", "request", in) | ||
} | ||
return nil, fmt.Errorf("Toda startup takes too long or an error occurs: %s", ret) |
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.
ST1005: error strings should not be capitalized
(at-me in a reply with help
or ignore
)
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.
@Muse-Dev ignore
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.
I've recorded this as ignored for this pull request. If you change your mind, just comment @muse-dev unignore
.
Signed-off-by: AsterNighT <klxjt99@outlook.com>
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
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
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by writing |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 2a8b038
|
What problem does this PR solve?
cherry-pick #1545
What is changed and how does it work?
Checklist
Tests
Side effects
Related changes
Does this PR introduce a user-facing change?