21927: Fix race condition in test. 21927-discovery-doc-test
authorTom Clegg <tom@curii.com>
Tue, 30 Jul 2024 16:52:04 +0000 (12:52 -0400)
committerTom Clegg <tom@curii.com>
Tue, 30 Jul 2024 16:52:04 +0000 (12:52 -0400)
commit8a633aa6872257548c4b63156a0031e3e74244ec
tree42b90e5fbc81087f4be603f9383552c76f3b33de
parentbd98532a8d1db145f903d97d635f029f28317d42
21927: Fix race condition in test.

Test was occasionally failing because the "wait for pending reqs, then
count reqs" step ran before the background refresh had progressed far
enough to be counted as a pending req.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/controller/handler_test.go