Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: deflake TestConsistencyQueueRecomputeStats
The test manually adds voters and expects a leaseholder to be established before forcing a stats re-computation (which runs on the leaseholder). With leader leases, it might take an extra election timeout for the leader lease to be established after adding the new voters, so the test flaked if the re-computation ran (and failed) before the leaseholder was ready. This commit makes the test retry the re-computation until a leasholder is established. Fixes: #136596 Release note: None
- Loading branch information