-
Notifications
You must be signed in to change notification settings - Fork 57
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
fix: node restart test issue #2576
Conversation
d18c302
to
9e47b93
Compare
You can find the image built from this PR at
Built from 99d2cba |
- Is not necessary to start the node if the switch object has been started - Enable an existing "Relay can receive messages after reboot and reconnect" test - Explicit reconnect to peer in "Relay can receive messages after reboot and reconnect" test
…ch proc With that, we avoid double start of the protocol.
9e47b93
to
577084e
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!
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, thanks so much!
I wonder if this had the same root cause as #2592
ah maybe yes, thanks for the heads-up! I'll take a look |
Description
It has been detected an issue regarding node restart and reconnection. After reconnecting, the messages didn't get its destination.
Changes
test_protocol.nim
so that it doesn't start things twice, f.e. the relayIssue
Special thanks to @AlejandroCabeza for such a great issue description 🥳
closes #2145