Allow more time for containerd to start for integration
Currently hardcoded to 2 seconds; in GitHub actions we see random
cancellation of our integration suite right at 2 seconds even
though containerd is within milliseconds of being ready.
@@ -108,7 +108,7 @@ func TestMain(m *testing.M) {
}
}
- waitCtx, waitCancel := context.WithTimeout(ctx, 2*time.Second)
+ waitCtx, waitCancel := context.WithTimeout(ctx, 4*time.Second)
client, err := ctrd.waitForStart(waitCtx)
waitCancel()
if err != nil {
