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

Simulate network delay in tests #20

Open
penberg opened this issue Nov 20, 2021 · 3 comments
Open

Simulate network delay in tests #20

penberg opened this issue Nov 20, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@penberg
Copy link
Collaborator

penberg commented Nov 20, 2021

Pull request #18 fixes an issue with out-of-order or stray AppendEntries rejects, which is only trigger able when Little Raft is wired up with networked servers.

Let's improve the tests to simulate network delay and partitioning to attempt to catch bugs like these.

@penberg penberg added the enhancement New feature or request label Nov 20, 2021
@penberg
Copy link
Collaborator Author

penberg commented Dec 18, 2021

One way to do this is to use Maelstrom for testing: https://github.com/jepsen-io/maelstrom.

@penberg penberg added the help wanted Extra attention is needed label Dec 18, 2021
@andreev-io
Copy link
Owner

Help definitely wanted on this one. Do you have any tests from ChiselStore that we can reuse @penberg?

@penberg
Copy link
Collaborator Author

penberg commented Dec 20, 2021

@andreev-io No tests to share. All the issues I discovered so far were result of manual testing and ChiselStore is still at early stages. I think first step is to improve Little Raft tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants