Hans Leidekker : wbemprox/tests: Don't use infinite timeouts.

Alexandre Julliard julliard at winehq.org
Fri Mar 21 14:33:52 CDT 2014


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Mar 21 19:01:09 2014 +0100

wbemprox/tests: Don't use infinite timeouts.

---

 dlls/wbemprox/tests/query.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index 8134e3a..9b77b4c 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -46,7 +46,7 @@ static HRESULT exec_query( IWbemServices *services, const WCHAR *str, IEnumWbemC
         {
             VARIANT var;
 
-            IEnumWbemClassObject_Next( *result, WBEM_INFINITE, 1, &obj, &count );
+            IEnumWbemClassObject_Next( *result, 10000, 1, &obj, &count );
             if (!count) break;
 
             if (IWbemClassObject_Get( obj, captionW, 0, &var, NULL, NULL ) == WBEM_S_NO_ERROR)




More information about the wine-cvs mailing list