Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
61868: testutils: fix a nil pointer panic in TestCluster.GetRaftLeader r=lunevalex a=lunevalex Fixes #61485 TestReplicateRemovedNodeDisruptiveElection exposed a nil pointer panic in TestCluster.GetRaftLeader. Replica.RaftStatus could return nil if the raft group is not yet initilized. This commit adds a guard for that condition. Release note: None Co-authored-by: Alex Lunev <[email protected]>
- Loading branch information