You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(e2e): poll until the leftover agent Job count settles
The self-cleanup assertion counted Jobs once and required exactly 1.
Kubernetes deletion is asynchronous, so a Job whose delete the concurrent runs
already issued and acked stays listable while its pods terminate and its
finalizers clear -- the assertion then failed with "found 2" for a cleanup
that worked correctly.
Poll until the count settles, failing only after AGENT_JOB_SETTLE_TIMEOUT
(60s, overridable). Only the timing becomes tolerant; the final assertion is
still exactly 1.
Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com>
0 commit comments