containerd/gc/scheduler
Derek McGowan a7fddb40bc
Use wait instead of a sleep to check for startup delay
Avoid using sleep as a way to measure whether gc has occurred.
Some systems may pause execution of the test and cause a failure if
the gc thread has not yet run after the sleep in the main thread.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-04-06 08:43:32 -07:00
..
metrics.go add gc scheduler metrics: collection count 2022-06-07 10:33:47 +08:00
scheduler_test.go Use wait instead of a sleep to check for startup delay 2023-04-06 08:43:32 -07:00
scheduler.go add gc scheduler metrics: collection count 2022-06-07 10:33:47 +08:00