winhttp/tests: Fix test failures on Windows 8.

Hans Leidekker hans at codeweavers.com
Wed Dec 19 05:01:27 CST 2012


---
 dlls/winhttp/tests/notification.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c
index 8ef2115..5b351c8 100644
--- a/dlls/winhttp/tests/notification.c
+++ b/dlls/winhttp/tests/notification.c
@@ -292,6 +292,8 @@ static void test_connection_cache( void )
     WinHttpCloseHandle( req );
     WinHttpCloseHandle( con );
     WinHttpCloseHandle( ses );
+
+    Sleep(2000); /* make sure connection is evicted from cache */
 }
 
 static const struct notification redirect_test[] =
-- 
1.7.10.4







More information about the wine-patches mailing list