Commit 9d7f41e7 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ws2_32/tests: Increase tolerance in a timing test.

parent b1a2238a
...@@ -3182,7 +3182,7 @@ static void test_select(void) ...@@ -3182,7 +3182,7 @@ static void test_select(void)
ret = select(maxfd+1, &readfds, &writefds, &exceptfds, &select_timeout); ret = select(maxfd+1, &readfds, &writefds, &exceptfds, &select_timeout);
ticks = GetTickCount() - ticks; ticks = GetTickCount() - ticks;
ok(ret == 0, "select should not return any socket handles\n"); 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(fdRead, &readfds), "FD should not be set\n");
ok(!FD_ISSET(fdWrite, &writefds), "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"); ok(!FD_ISSET(fdRead, &exceptfds), "FD should not be set\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment