wininet/tests: Temporize async HttpSendRequestEx test to avoid timeouts.

Nicolas Le Cam niko.lecam at gmail.com
Sat May 9 17:40:03 CDT 2009


---
 dlls/wininet/tests/http.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index e3c33bd..7e4cb62 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -2493,6 +2493,7 @@ static void test_async_HttpSendRequestEx(void)
     InternetCloseHandle( ses );
 
     WaitForSingleObject( info.wait, 10000 );
+    Sleep(100);
     CloseHandle( info.wait );
 }
 
@@ -2557,9 +2558,9 @@ START_TEST(http)
     InternetOpenRequest_test();
     test_http_cache();
     InternetOpenUrlA_test();
-    HttpSendRequestEx_test();
     HttpHeaders_test();
     test_http_connection();
     test_user_agent_header();
     test_bogus_accept_types_array();
+    HttpSendRequestEx_test();
 }
-- 
1.6.0.4


--=-hBrtYoABwwCyxtoLxyFV--




More information about the wine-patches mailing list