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

Feat: network failure simulation with tests::fixture::RaftRouter #478

Open
ClSlaid opened this issue Jul 28, 2022 · 1 comment
Open

Feat: network failure simulation with tests::fixture::RaftRouter #478

ClSlaid opened this issue Jul 28, 2022 · 1 comment

Comments

@ClSlaid
Copy link
Contributor

ClSlaid commented Jul 28, 2022

Currently, tests::fixture::RaftRouter offers some useful test utilities for simulating and observing raft clusters. Its isolate_node(target) method could take down RPC requests sent to or from target, making the node isolated on the application layer.

But real-world network problems will not only occur on the application layer. For example, a switcher connecting to some of your nodes, which is on the link layer, may fail and left your nodes unreachable, making network connections to them fail.
To simulate such situations, the Router should be enhanced.

@github-actions
Copy link

👋 Thanks for opening this issue!

Get help or engage by:

  • /help : to print help messages.
  • /assignme : to assign this issue to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant