From: Giovanni Mascellani <gmascellani(a)codeweavers.com> The test that checks that GetBuffer() fails at iterations later than zero is a bit flaky on the CI. I suspect that's because the CI virtual machine is a bit overcommitted and sleeps can be longer than expected. Emptying the buffer more often should help avoiding it grows enough to trigger the failure. --- dlls/mmdevapi/tests/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c index 3febeb4c4fb..17dd2efbf9e 100644 --- a/dlls/mmdevapi/tests/render.c +++ b/dlls/mmdevapi/tests/render.c @@ -1422,8 +1422,8 @@ static void test_clock(int share) last = pos; for(i=0; i < 9; i++) { - Sleep(100); - slept += 100; + Sleep(50); + slept += 50; hr = IAudioClock_GetPosition(acl, &pos, &pcpos); ok(hr == S_OK, "GetPosition failed: %08lx\n", hr); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8862