21258: Ensure at least one boot failure. 21258-flaky-adc-test
authorTom Clegg <tom@curii.com>
Thu, 4 Jan 2024 22:51:33 +0000 (17:51 -0500)
committerTom Clegg <tom@curii.com>
Thu, 4 Jan 2024 22:51:33 +0000 (17:51 -0500)
commitc5380a9ea994f5727ffe0e45dfe7c46a20673db0
tree6e7b07c26b4f9a5cede546ea269bd07023968b15
parent529bee0099e69f33ab11e01a511542b07419a479
21258: Ensure at least one boot failure.

With the previous approach, it was possible for all containers needing
a type4 instance to finish, and a different instance type to report a
quota error and cause the scheduler to shut down the now-unneeded
instance, all before the "guaranteed broken" node reached
TimeoutBooting. In such a case it would not be counted as a boot
failure.

To avoid this, the new approach induces boot failures on *all* type4
instances until 2x TimeoutBooting intervals have passed.

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