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

raft: integration tests #125

Open
1 of 9 tasks
SUMUKHA-PK opened this issue May 17, 2020 · 1 comment · May be fixed by #121
Open
1 of 9 tasks

raft: integration tests #125

SUMUKHA-PK opened this issue May 17, 2020 · 1 comment · May be fixed by #121
Assignees
Labels
component/raft Regarding the raft package and sub-packages feature New feature or enhancement
Milestone

Comments

@SUMUKHA-PK
Copy link
Collaborator

SUMUKHA-PK commented May 17, 2020

We need extensive integration tests on the raft cluster covering all possibilities.
The test must use the underlying cluster package and actually create clusters instead of mocking them.

Following are the scenarios we need to consider.

  • Normal raft operation.
  • Leader failure.
  • Leader recovery.
  • Multiple leader problem.
  • Network partitions and their recovery.
  • Follower join.
  • Follower graceful shutdown.
  • Mock tests where the non-mocked node is a leader.
  • Mock tests where the non-mocked node is a follower.
@SUMUKHA-PK SUMUKHA-PK added needs triage This needs to be investigated or validated component/raft Regarding the raft package and sub-packages and removed needs triage This needs to be investigated or validated labels May 17, 2020
@SUMUKHA-PK
Copy link
Collaborator Author

We need to add more to the list once we figure it out.

Only when this issue is resolved, #121 will be merged.

@tsatke tsatke changed the title Integration testing of raft. raft: integration tests May 17, 2020
@tsatke tsatke added the feature New feature or enhancement label May 17, 2020
@tsatke tsatke linked a pull request May 17, 2020 that will close this issue
3 tasks
@tsatke tsatke removed their assignment May 17, 2020
@tsatke tsatke added this to the v0.0.1 milestone May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/raft Regarding the raft package and sub-packages feature New feature or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants