-
Notifications
You must be signed in to change notification settings - Fork 18
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
Rpc reconnection tests #580
Merged
roman-khimov
merged 2 commits into
nspcc-dev:master
from
vvarg229:rpc-reconnection-tests
Jul 24, 2023
Merged
Rpc reconnection tests #580
roman-khimov
merged 2 commits into
nspcc-dev:master
from
vvarg229:rpc-reconnection-tests
Jul 24, 2023
Conversation
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
Update neofs-testlib from v 1.1.1 to 1.1.2 Signed-off-by: Oleg Kulachenko <[email protected]>
vvarg229
force-pushed
the
rpc-reconnection-tests
branch
from
July 11, 2023 14:12
bcacd8d
to
c4ad171
Compare
""" | ||
When RPC connection fails (and it can), storage node reconnects to some other node and continues to operate. | ||
""" | ||
dport_repeate = 50 # Constant for the number of the disconnect should be repeated |
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.
Typo?
Should it be "dport_repeat"?
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.
Typo?
Should it be "dport_repeat"?
Fixed
vvarg229
force-pushed
the
rpc-reconnection-tests
branch
from
July 19, 2023 09:11
c4ad171
to
5387c3f
Compare
roman-khimov
requested changes
Jul 19, 2023
vvarg229
force-pushed
the
rpc-reconnection-tests
branch
from
July 19, 2023 16:42
5387c3f
to
e9d5bd5
Compare
Added a new test in the failover network test suite to simulate and handle RPC connection failures. It forcibly disconnects storage nodes from RPC nodes repeatedly, and checks if the storage nodes are able to reconnect. Signed-off-by: Oleg Kulachenko <[email protected]>
vvarg229
force-pushed
the
rpc-reconnection-tests
branch
from
July 24, 2023 16:40
e9d5bd5
to
6bcae10
Compare
roman-khimov
approved these changes
Jul 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
You can see the result of the test here:
https://github.com/vvarg229/neofs-node/actions/runs/5520826558/jobs/10068613348