Commit aef2edb0 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Add a bit of slack to the mailslot timeout test.

parent 2bd62004
......@@ -299,7 +299,7 @@ static int mailslot_test(void)
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 >= 1000, "timeout too short %u\n", dwTimeout );
ok( dwTimeout >= 990, "timeout too short %u\n", dwTimeout );
ok( CloseHandle( hSlot ), "closing the mailslot\n");
return 0;
......
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