mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[WININET_WINETEST]
- Add back work-around for testbot hang lost in winesync. ROSTESTS-73 svn path=/trunk/; revision=63725
This commit is contained in:
parent
18ad0bd565
commit
ca688e6e46
|
@ -3143,7 +3143,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