Zebediah Figura : kernel32/tests: Relax a timing test.

Alexandre Julliard julliard at winehq.org
Mon Jul 27 16:35:15 CDT 2020


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

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sat Jul 25 10:44:47 2020 -0500

kernel32/tests: Relax a timing test.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/kernel32/tests/mailslot.c b/dlls/kernel32/tests/mailslot.c
index da595e9714..9da960fba8 100644
--- a/dlls/kernel32/tests/mailslot.c
+++ b/dlls/kernel32/tests/mailslot.c
@@ -324,7 +324,7 @@ todo_wine
     ok( !ReadFile( hSlot, buffer, sizeof buffer, &count, NULL), "slot read\n");
     ok( GetLastError() == ERROR_SEM_TIMEOUT, "wrong error %u\n", GetLastError() );
     dwTimeout = GetTickCount() - dwTimeout;
-    ok( dwTimeout >= 990, "timeout too short %u\n", dwTimeout );
+    ok( dwTimeout >= 900, "timeout too short %u\n", dwTimeout );
     ok( CloseHandle( hSlot ), "closing the mailslot\n");
 
     return 0;




More information about the wine-cvs mailing list