Skip to content
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
merged 2 commits into from
Jul 24, 2023

Conversation

vvarg229
Copy link
Collaborator

@vvarg229 vvarg229 commented Jul 6, 2023

Update neofs-testlib from v 1.1.1 to 1.1.2

Signed-off-by: Oleg Kulachenko <[email protected]>
@vvarg229 vvarg229 marked this pull request as ready for review July 11, 2023 14:13
"""
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

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"?

Copy link
Collaborator Author

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

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]>
@roman-khimov roman-khimov merged commit f14168b into nspcc-dev:master Jul 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants