etcd-io / raft

Raft library for maintaining a replicated state machine
Apache License 2.0
630 stars 160 forks source link

Improve trace validation test experience #203

Open joshuazh-x opened 3 months ago

joshuazh-x commented 3 months ago

Following up on previous discussion with @serathius and @ahrtr, we aim to automate the trace validation test with random Raft traces (in normal and in fault conditions).

  1. This requires a mock application to generate random Raft traces in both normal and fault conditions.
  2. The test shall be easy to run both manually and integrated with GitHub actions.
  3. Traces shall be kept in case of test failure so we can troubleshoot the root cause.
joshuazh-x commented 2 months ago

PR #204 is submitted to address the follow-ups here.

cc @serathius @ahrtr