Author: tfaber
Date: Sun Jul 20 11:19:44 2014
New Revision: 63725
URL:
http://svn.reactos.org/svn/reactos?rev=63725&view=rev
Log:
[WININET_WINETEST]
- Add back work-around for testbot hang lost in winesync.
ROSTESTS-73
Modified:
trunk/rostests/winetests/wininet/http.c
Modified: trunk/rostests/winetests/wininet/http.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/wininet/http.c?…
==============================================================================
--- trunk/rostests/winetests/wininet/http.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/wininet/http.c [iso-8859-1] Sun Jul 20 11:19:44 2014
@@ -3143,7 +3143,11 @@
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);