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.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes
2020-04-23 10:29:19 -04:00
parent e094d363ac
commit cd0e62f5c9

View File

@@ -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 {