Mercurial > vim
comparison .github/workflows/ci-windows.yaml @ 22373:294f27aeced4 v8.2.1735
patch 8.2.1735: Github actions appear to timeout too soon
Commit: https://github.com/vim/vim/commit/851d108313317a062371a6750e6c6bf370a9bafa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 23 22:27:22 2020 +0200
patch 8.2.1735: Github actions appear to timeout too soon
Problem: Github actions appear to timeout too soon.
Solution: use "timeout" instead of "ping".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Sep 2020 22:30:03 +0200 |
parents | 2b6d696b063d |
children | 392c7bd6fa36 |
comparison
equal
deleted
inserted
replaced
22372:506ab8704369 | 22373:294f27aeced4 |
---|---|
210 cd .. | 210 cd .. |
211 | 211 |
212 echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET% | 212 echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET% |
213 cd ..\src2\testdir | 213 cd ..\src2\testdir |
214 :: Wait about 10 minutes. | 214 :: Wait about 10 minutes. |
215 for /L %%i in (1,1,600) do ( | 215 for /L %%i in (1,1,60) do ( |
216 if exist done.txt goto exitloop | 216 if exist done.txt goto exitloop |
217 ping -n 2 localhost > nul | 217 timeout 10 |
218 ) | 218 ) |
219 set timeout=1 | 219 set timeout=1 |
220 :exitloop | 220 :exitloop |
221 | 221 |
222 echo %COL_GREEN%Test results of vim:%COL_RESET% | 222 echo %COL_GREEN%Test results of vim:%COL_RESET% |