[PATCH v2 3/5] quartz/tests: Wait longer in test_render_with_multithread().

Zebediah Figura z.figura12 at gmail.com
Wed Oct 9 23:15:08 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
Avoids test failures like <http://test.winehq.org/data/65fba0987310e635f27468a5b4a448794b5871e5/xp_acer-aspire-one-xp/quartz:filtergraph.html>.

 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 f925db8a39b..ef6bfd01751 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();
-- 
2.23.0




More information about the wine-devel mailing list