[WININET_WINETEST]

- Add back work-around for testbot hang lost in winesync.
ROSTESTS-73

svn path=/trunk/; revision=63725
This commit is contained in:
Thomas Faber 2014-07-20 11:19:44 +00:00
parent 18ad0bd565
commit ca688e6e46

View file

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