From 5ee0981fb5259f94900ab25207caddf1fa61010d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 25 Nov 2020 12:43:28 +0100 Subject: patch 8.2.2044: MS-Windows: swap file test sometimes fails Problem: MS-Windows: swap file test sometimes fails. Solution: Use a more reliable way to change the process ID. When "timeout" fails use "ping" to wait up to ten minutes. (Ken Takata, closes #7365) --- .github/workflows/ci-windows.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ci-windows.yaml b/.github/workflows/ci-windows.yaml index 7db551fdc..4a470624b 100644 --- a/.github/workflows/ci-windows.yaml +++ b/.github/workflows/ci-windows.yaml @@ -215,7 +215,8 @@ jobs: :: Wait about 10 minutes. for /L %%i in (1,1,60) do ( if exist done.txt goto exitloop - timeout 10 + timeout 10 > NUL 2>&1 + if ERRORLEVEL 1 ping -n 11 localhost > NUL ) set timeout=1 :exitloop -- cgit v1.2.1