From c65ac223a074e2129afe0a0f10cdcd3ec80b87cd Mon Sep 17 00:00:00 2001 From: Brendan McGrath Date: Wed, 7 Feb 2024 13:15:37 +1100 Subject: [PATCH] d2d1/tests: Increase timeout from 1 sec to 5 secs. Fixes a test that is frequently failing on the GitLab CI. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56188 --- dlls/d2d1/tests/d2d1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c index efa4da54fd2..0059b2b8bd1 100644 --- a/dlls/d2d1/tests/d2d1.c +++ b/dlls/d2d1/tests/d2d1.c @@ -10822,7 +10822,7 @@ static void test_mt_factory(BOOL d3d11) ID2D1Multithread_Enter(multithread); thread = CreateThread(NULL, 0, mt_factory_test_thread_draw_func, ctx.rt, 0, NULL); ok(!!thread, "Failed to create a thread.\n"); - ret = WaitForSingleObject(thread, 1000); + ret = WaitForSingleObject(thread, 5000); ok(ret == WAIT_OBJECT_0, "Didn't expect timeout.\n"); ID2D1Multithread_Leave(multithread); WaitForSingleObject(thread, INFINITE);