Mercurial > vim
changeset 21568:a87ab06501ad v8.2.1334
patch 8.2.1334: Github workflow timeout needs tuning
Commit: https://github.com/vim/vim/commit/b53da7918c643ef4de1256c37bc8b92413e6dcec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 1 12:26:04 2020 +0200
patch 8.2.1334: Github workflow timeout needs tuning
Problem: Github workflow timeout needs tuning
Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
closes #6590)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Aug 2020 12:30:04 +0200 |
parents | 31ec74ed42f5 |
children | bbb0e366528f |
files | .github/workflows/ci-windows.yaml src/version.c |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci-windows.yaml +++ b/.github/workflows/ci-windows.yaml @@ -210,14 +210,18 @@ jobs: echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET% cd ..\src2\testdir - :: Wait about 5 minutes. - for /L %%i in (1,1,300) do ( + :: Wait about 10 minutes. + for /L %%i in (1,1,600) do ( if exist done.txt goto exitloop ping -n 2 localhost > nul ) - echo %COL_RED%Timed out.%COL_RESET% + set timeout=1 :exitloop echo %COL_GREEN%Test results of vim:%COL_RESET% if exist messages type messages nmake -nologo -f Make_dos.mak report VIMPROG=..\..\src\vim || exit 1 + if "%timeout%"=="1" ( + echo %COL_RED%Timed out.%COL_RESET% + exit 1 + )