From 21a5a570487b1a7d97ff9b66510a190fb6761736 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 9 Mar 2021 09:53:24 -0800 Subject: [PATCH 1/2] increase wait for docker starting on windows --- hack/jenkins/setup_docker_desktop_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/setup_docker_desktop_windows.ps1 b/hack/jenkins/setup_docker_desktop_windows.ps1 index 6462ced288e3..8b40410a91d0 100644 --- a/hack/jenkins/setup_docker_desktop_windows.ps1 +++ b/hack/jenkins/setup_docker_desktop_windows.ps1 @@ -17,9 +17,9 @@ Get-Process "*Docker Desktop*" | Stop-Process $attempt = 1 while($attempt -le 10) { Write-Host "Attempt ", $attempt - Write-Host "Wait for 2 minutes" + Write-Host "Wait for 3 minutes" & "C:\Program Files\Docker\Docker\Docker Desktop.exe" - Start-Sleep 120 + Start-Sleep 180 $dockerInfo = docker info Write-Host "Docker Info ", $dockerInfo $serverVersion = $dockerInfo | Where-Object {$_ -Match "Server Version"} From d247eff1309bc905585057b2548f0de6a359fe8c Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 9 Mar 2021 12:09:37 -0800 Subject: [PATCH 2/2] increase to 5 minutes --- hack/jenkins/setup_docker_desktop_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/setup_docker_desktop_windows.ps1 b/hack/jenkins/setup_docker_desktop_windows.ps1 index 8b40410a91d0..fe71f046cf9b 100644 --- a/hack/jenkins/setup_docker_desktop_windows.ps1 +++ b/hack/jenkins/setup_docker_desktop_windows.ps1 @@ -17,9 +17,9 @@ Get-Process "*Docker Desktop*" | Stop-Process $attempt = 1 while($attempt -le 10) { Write-Host "Attempt ", $attempt - Write-Host "Wait for 3 minutes" + Write-Host "Wait for 5 minutes" & "C:\Program Files\Docker\Docker\Docker Desktop.exe" - Start-Sleep 180 + Start-Sleep 300 $dockerInfo = docker info Write-Host "Docker Info ", $dockerInfo $serverVersion = $dockerInfo | Where-Object {$_ -Match "Server Version"}