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

This commit is contained in:
Alexandre Julliard 2007-04-06 12:35:21 +02:00
parent 2bd62004cf
commit aef2edb0cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;