wbemprox/tests: Don't use infinite timeouts.
This commit is contained in:
parent
5752d48353
commit
6e7440e9b1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue