Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver/tenantrate: fix flakey test
This test was broken in cockroachdb#53510 which augmented the limiter machinery to deal with read and write requests independently. The problem is that the timer machinery works to synchronize the first blocked request but not subsequent requests. That leaves the test-writer with no fundamental means to ensure that subsequent blocked commands synchronize with a metrics command. This lack of synchronization on metrics was a pain-point when writing the original tests and led to excessive use of timers as synchronization. Rather than trying to add excess synchronization, this commit just adds a succeeds soon around the metrics. This works well. Fixes cockroachdb#53590 Release justification: non-production code changes Release note: None
- Loading branch information