quartz/tests: Avoid Sleep().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
64c6761761
commit
7074b411df
|
@ -330,8 +330,7 @@ static void rungraph(void)
|
|||
hr = IMediaEvent_GetEventHandle(pme, (OAEVENT*)&hEvent);
|
||||
ok(hr==S_OK, "Cannot get event handle returned: %x\n", hr);
|
||||
|
||||
/* WaitForSingleObject(hEvent, INFINITE); */
|
||||
Sleep(20000);
|
||||
ok(WaitForSingleObject(hEvent, 2000) == WAIT_OBJECT_0, "Wait failed\n");
|
||||
|
||||
hr = IMediaEvent_Release(pme);
|
||||
ok(hr==2, "Releasing mediaevent returned: %x\n", hr);
|
||||
|
|
Loading…
Reference in New Issue