lbadd icon indicating copy to clipboard operation
lbadd copied to clipboard

raft: integration tests

Open SUMUKHA-PK opened this issue 4 years ago • 1 comments

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.

  • [x] 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 avatar May 17 '20 06:05 SUMUKHA-PK

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

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

SUMUKHA-PK avatar May 17 '20 06:05 SUMUKHA-PK