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

Alexandre Julliard julliard at winehq.org
Mon May 11 09:10:49 CDT 2009


Module: wine
Branch: master
Commit: 6ef2402c506118781502176ddfe1ded312a62501
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6ef2402c506118781502176ddfe1ded312a62501

Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date:   Sun May 10 00:40:03 2009 +0200

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

---

 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();
 }




More information about the wine-cvs mailing list