[2/3] winhttp: Increase sleep between two tests that connect to the same host.

Hans Leidekker hans at codeweavers.com
Tue Sep 9 09:43:57 CDT 2008


This is an attempt to fix some of the notification test failures on
Windows that I don't see here.

 -Hans

diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c
index 784e350..049e7ca 100644
--- a/dlls/winhttp/tests/notification.c
+++ b/dlls/winhttp/tests/notification.c
@@ -152,7 +152,7 @@ static void test_connection_cache( void )
     WinHttpCloseHandle( con );
     WinHttpCloseHandle( ses );
 
-    Sleep(1500); /* make sure connection is evicted from cache */
+    Sleep(2000); /* make sure connection is evicted from cache */
 
     info.index = 0;
 
@@ -375,6 +375,6 @@ START_TEST (notification)
 {
     test_connection_cache();
     test_redirect();
-    Sleep(1500); /* make sure previous connection is evicted from cache */
+    Sleep(2000); /* make sure previous connection is evicted from cache */
     test_async();
 }



More information about the wine-patches mailing list