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
This commit is contained in:
Brendan McGrath 2024-02-07 13:15:37 +11:00 committed by Alexandre Julliard
parent 2e9a57a0b8
commit c65ac223a0

View file

@ -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);