]> git.ipfire.org Git - thirdparty/curl.git/commit
test587: add a slight delay after test
authorDan Fandrich <dan@coneharvesters.com>
Mon, 11 Sep 2023 23:38:46 +0000 (16:38 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 13 Sep 2023 18:26:08 +0000 (11:26 -0700)
commit2e2fc007c88e0607b020aba1c1498eb147f4f234
tree5c443c2a19ef2517bf8b2e964e74c59c5e470f44
parentd29a62d738feac1404dc6acc8cd659c37fb44a9e
test587: add a slight delay after test

This test is designed to connect to the server, then immediately send a
few bytes and disconnect. In some situations, such as on a loaded
server, this doesn't give the server enough time to write its lock file
before its existence is checked. The test harness then fails to find the
server's input log file (because it hasn't been written yet) and fails
the test. By adding a short delay after the test, the HTTP server has
enough time to write its lock file which gives itself more time to write
its remaining files.

Ref: #11328
tests/data/test587