wbemprox/tests: Don't use infinite timeouts.

Hans Leidekker hans at codeweavers.com
Fri Mar 21 13:01:09 CDT 2014


---
 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)
-- 
1.9.0






More information about the wine-patches mailing list