Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
113744: kvserver: deflake `TestReplicaCircuitBreaker_ExemptRequests` r=erikgrinaker a=erikgrinaker **kvserver: add `Replica.NumPendingProposals()` test helper** **kvserver: deflake `TestReplicaCircuitBreaker_ExemptRequests`** It was possible for a reproposal from a previous subtest to cause the circuit breaker to trip again when remove quorum. This would violate assertions that were expecting a different command to fail. This patch waits for all pending proposals to complete before tripping the circuit breaker again. Resolves cockroachdb#112073. Epic: none Release note: None Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information