increase timeout for DryRun to 20 seconds

pull/13297/head
Steven Powell 2022-01-10 15:55:20 -08:00
parent c61a34b38f
commit d77f182dfd
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ func validateDryRun(ctx context.Context, t *testing.T, profile string) {
// dry-run mode should always be able to finish quickly (<5s) expect Docker Windows
timeout := Seconds(5)
if runtime.GOOS == "windows" && DockerDriver() {
timeout = Seconds(10)
timeout = Seconds(20)
}
mctx, cancel := context.WithTimeout(ctx, timeout)
defer cancel()