mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
[WININET_WINETEST]
- Hackfix hanging test. There's no benefit in having testbot take longer. ROSTESTS-73 #comment Temporary timeout added in r58917 to prevent hanging. svn path=/trunk/; revision=58917
This commit is contained in:
parent
ec1a8a5a63
commit
66675db02b
1 changed files with 4 additions and 0 deletions
|
@ -2269,7 +2269,11 @@ static void test_conn_close(int port)
|
|||
SET_EXPECT(INTERNET_STATUS_CONNECTION_CLOSED);
|
||||
SET_EXPECT(INTERNET_STATUS_REQUEST_COMPLETE);
|
||||
SetEvent(conn_close_event);
|
||||
#ifdef ROSTESTS_73_FIXED
|
||||
WaitForSingleObject(hCompleteEvent, INFINITE);
|
||||
#else /* ROSTESTS_73_FIXED */
|
||||
ok(WaitForSingleObject(hCompleteEvent, 5000) == WAIT_OBJECT_0, "Wait timed out\n");
|
||||
#endif /* ROSTESTS_73_FIXED */
|
||||
ok(req_error == ERROR_SUCCESS, "req_error = %u\n", req_error);
|
||||
CHECK_NOTIFIED(INTERNET_STATUS_CLOSING_CONNECTION);
|
||||
CHECK_NOTIFIED(INTERNET_STATUS_CONNECTION_CLOSED);
|
||||
|
|
Loading…
Reference in a new issue