Skip to content

Commit 5d25e47

Browse files
committed
Retry failed shutdown in Windows smoke testing
It seems like Windows is unhappy if the app fails to close when forcefully killed. Failure here seems to be because the PID disappears, because killing one related pid kills some of the others? Regardless, it doesn't really matter from our point of view.
1 parent 8271549 commit 5d25e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/distributables-test/windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ exit /b %err%
5151
echo All good.
5252

5353
REM Shut down by matching title passed to START to run in the background
54-
taskkill /FI "WindowTitle eq server*" /T /F
54+
taskkill /FI "WindowTitle eq server*" /T /F || goto :success

0 commit comments

Comments
 (0)