summary refs log tree commit diff
path: root/gnu/packages/ci.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-16 12:18:59 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-16 14:05:52 +0100
commitc215d9ec1ce108844b14c0c2952199a0da5f4176 (patch)
treeae5d749c150f1cc0a395621eb7e2a4347febbc6b /gnu/packages/ci.scm
parent0f13dd2b7f7675310e4a9bbfd37ee946b9f0dea3 (diff)
downloadguix-c215d9ec1ce108844b14c0c2952199a0da5f4176.tar.gz
tests: opensmtpd: Gracefully handle test failure.
Previously the 'wait' loop would run for ~1024 seconds, at which point
we'd reach the file descriptor limit due to the leak in 'queue-empty?'.

* gnu/tests/mail.scm (run-opensmtpd-test)[test]("mail arrived"): In
'queue-empty?', close PIPE to avoid file descriptor leak.  In 'wait'
loop, arrange to run at most 20 times.
Diffstat (limited to 'gnu/packages/ci.scm')
0 files changed, 0 insertions, 0 deletions