Zebediah Figura : quartz/tests: Wait longer in test_render_with_multithread().

Alexandre Julliard julliard at winehq.org
Tue Oct 15 13:11:25 CDT 2019


Module: wine
Branch: master
Commit: 2b9596a62611893c6fe673ebaf33d0262ddb670e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2b9596a62611893c6fe673ebaf33d0262ddb670e

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Oct  9 23:15:08 2019 -0500

quartz/tests: Wait longer in test_render_with_multithread().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index b6e9f3ab0f..b1a606f061 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -778,7 +778,7 @@ static void test_render_with_multithread(void)
 
     thread = CreateThread(NULL, 0, call_RenderFile_multithread, graph, 0, NULL);
 
-    ok(WaitForSingleObject(thread, 1000) == WAIT_OBJECT_0, "wait failed\n");
+    ok(!WaitForSingleObject(thread, 10000), "Wait timed out.\n");
     IFilterGraph2_Release(graph);
     CloseHandle(thread);
     CoUninitialize();




More information about the wine-cvs mailing list