20318: Fix settled condition.
authorTom Clegg <tom@curii.com>
Thu, 11 Jan 2024 18:10:47 +0000 (13:10 -0500)
committerTom Clegg <tom@curii.com>
Thu, 11 Jan 2024 20:13:28 +0000 (15:13 -0500)
commit3d9b15fbf098c90cb8866b2751efdf5f5f727a31
tree5b44900e552223af47708d1bb03df75b1dc94730
parent02a098c4b922c8b5969e29b8ccc8f4281eea645c
20318: Fix settled condition.

Intention was to stop iterating when *all* of the keepstore servers
need 0 pulls, but the code as written stops on the N>1st iteration
when *any* of the keepstore servers need 0 pulls. This caused a false
negative when it took more than one iteration for keepstore to
complete the requested pulls.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/keep-balance/integration_test.go