ci: windows: run tests under timeout.
authorAndres Freund <andres@anarazel.de>
Thu, 3 Feb 2022 01:31:54 +0000 (17:31 -0800)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Feb 2022 01:31:54 +0000 (17:31 -0800)
commit6dcc18526673ec6cfa2fa286d2039ae85fb8eb9e
treebe66b90881d0a3d6d3cd1d8d12fd831700f3fc8d
parentd33a81203e95d31e62157c4ae0e00e2198841208
ci: windows: run tests under timeout.

On windows ci/cfbot currently regularly hangs / times out. Presumably this is due
to the issues discussed in
https://postgr.es/m/CA%2BhUKG%2BG5DUNJfdE-qusq5pcj6omYTuWmmFuxCvs%3Dq1jNjkKKA%40mail.gmail.com
which lead to reverting 75674c7ec1b everywhere but master.

But it's hard to tell - because the entire test task times out, we don't get
to see debugging information.

This commit adds a timeout (using git's timeout binary) to all vcregress
invocations, which should address the problem for now. It might also be a good
idea to add timeouts to the other operating systems at a later time.

The diff is a bit larger than one might think necessary: Yaml doesn't like % -
from the windows command variable syntax - at the start of an unquoted
string...

Discussion: https://postgr.es/m/20220110005704.es4el6i2nxlxzwof@alap3.anarazel.de
.cirrus.yml