You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143710: raft: update TestLeaderSyncFollowerLog r=pav-kv a=hakuuww
This TestLeaderSyncFollowerLog test doesn't serve its purpose any more because of how the test framework is setup. (see #143708)
Specifically https://github.com/cockroachdb/cockroach/blob/91b58a15c1453f2c6f5f559cfb92029e8af84227/pkg/raft/storage.go#L301-L317
You can see that entries are not in fact appended when trying to create a new node with a init raftLog.
This PR aims to fix the issue for this particular test with newly written test cases.
**There should be a lot of other places where a similar fix is needed for legacy raft tests.**
Epic: none
Release note: none
Co-authored-by: Anthony Xu <[email protected]>
0 commit comments