diff --git a/modules/rostests/kmtests/tcpip/TcpIp_user.c b/modules/rostests/kmtests/tcpip/TcpIp_user.c index 7acdf3e924f..ec4fc6c3e83 100644 --- a/modules/rostests/kmtests/tcpip/TcpIp_user.c +++ b/modules/rostests/kmtests/tcpip/TcpIp_user.c @@ -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();