ws2_32/tests: Give an event test marked todo a bit more time to fail on Wine.
commit9a43d51e06b9f52a4c4feefe8c8ab5aa31d8873f
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 22 Jul 2023 02:48:16 +0000 (21 21:48 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Jul 2023 20:49:40 +0000 (24 22:49 +0200)
tree2fd9770f4537216fe04964ae40f0f77872a179f3
parentf523609219e8d6e2a543d769e1704302b62a0d6e
ws2_32/tests: Give an event test marked todo a bit more time to fail on Wine.

We are testing that FD_CLOSE isn't generated, but Wine currently generates
FD_CLOSE anyway. However, sometimes Wine does not generate FD_CLOSE immediately,
causing the test to intermittently succeed inside the todo block.

This test is difficult to fix properly—it would involve either (arbitrary?)
buffering in the server, or support from the host OS.

However, we also don't want to make the Windows tests take longer, so add the
200 ms of leeway only on Wine.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54073
dlls/ws2_32/tests/sock.c