Zebediah Figura : ws2_32/tests: Increase tolerance in a timing test.

Alexandre Julliard julliard at winehq.org
Thu Dec 30 16:11:34 CST 2021


Module: wine
Branch: master
Commit: 9d7f41e702e9f2cacc3b16e8b88a73d81e44860f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9d7f41e702e9f2cacc3b16e8b88a73d81e44860f

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Wed Dec 29 17:20:59 2021 -0600

ws2_32/tests: Increase tolerance in a timing test.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ws2_32/tests/sock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 9ff4a5d844d..5e16343a577 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3182,7 +3182,7 @@ static void test_select(void)
     ret = select(maxfd+1, &readfds, &writefds, &exceptfds, &select_timeout);
     ticks = GetTickCount() - ticks;
     ok(ret == 0, "select should not return any socket handles\n");
-    ok(ticks < 10, "select was blocking for %u ms, expected < 10 ms\n", ticks);
+    ok(ticks < 100, "select was blocking for %u ms\n", ticks);
     ok(!FD_ISSET(fdRead, &readfds), "FD should not be set\n");
     ok(!FD_ISSET(fdWrite, &writefds), "FD should not be set\n");
     ok(!FD_ISSET(fdRead, &exceptfds), "FD should not be set\n");




More information about the wine-cvs mailing list