mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-17 04:22:32 +03:00
CI/appveyor: increase wait for SSH server on GHA [ci skip]
Blind attempt to make AppVeyor CI tests work again.
This commit is contained in:
@@ -192,7 +192,7 @@ test_script:
|
|||||||
if($env:SKIP_CTEST -ne 'yes' -and $env:PLATFORM -ne 'ARM64') {
|
if($env:SKIP_CTEST -ne 'yes' -and $env:PLATFORM -ne 'ARM64') {
|
||||||
appveyor-retry choco install --yes --no-progress --limit-output --timeout 180 docker-cli
|
appveyor-retry choco install --yes --no-progress --limit-output --timeout 180 docker-cli
|
||||||
Write-Host 'Waiting for SSH connection from GitHub Actions' -NoNewline
|
Write-Host 'Waiting for SSH connection from GitHub Actions' -NoNewline
|
||||||
$endDate = (Get-Date).AddMinutes(3)
|
$endDate = (Get-Date).AddMinutes(5)
|
||||||
while((Get-Process -Name 'sshd' -ErrorAction SilentlyContinue).Count -eq 1 -and (Get-Date) -lt $endDate) {
|
while((Get-Process -Name 'sshd' -ErrorAction SilentlyContinue).Count -eq 1 -and (Get-Date) -lt $endDate) {
|
||||||
Write-Host '.' -NoNewline
|
Write-Host '.' -NoNewline
|
||||||
Start-Sleep -Seconds 1
|
Start-Sleep -Seconds 1
|
||||||
|
|||||||
Reference in New Issue
Block a user