mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[KMTEST:TcpIp] Use 10 second timeout value instead of INFINITE (#5586)
* [KMTEST:TcpIp] Use 10 second timeout value instead of INFINITE On x64 the test sometimes fails to connect and then times out on the testbot, causing the system to be rebooted. Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
@@ -113,7 +113,8 @@ START_TEST(TcpIpConnect)
|
||||
Error = KmtSendToDriver(IOCTL_TEST_CONNECT);
|
||||
ok_eq_ulong(Error, ERROR_SUCCESS);
|
||||
|
||||
WaitForSingleObject(AcceptThread, INFINITE);
|
||||
Error = WaitForSingleObject(AcceptThread, 10 * 1000);
|
||||
ok(Error == WAIT_OBJECT_0, "AcceptThread timed out\n");
|
||||
|
||||
UnloadTcpIpTestDriver();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user