Author: tfaber
Date: Sat May 4 08:10:58 2013
New Revision: 58917
URL:
http://svn.reactos.org/svn/reactos?rev=58917&view=rev
Log:
[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.
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] Sat May 4 08:10:58 2013
@@ -2269,7 +2269,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);