From add3c9e6d0b7912bf844a1b5e8eeb2e51f4f76b5 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?J=C3=B6rg=20H=C3=B6hle?= Date: Sun, 8 Nov 2009 22:50:41 +0100 Subject: [PATCH] winmm/tests: Give flaky progress test more time. --- dlls/winmm/tests/mci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winmm/tests/mci.c b/dlls/winmm/tests/mci.c index 05da6cd..5ce8cd4 100644 --- a/dlls/winmm/tests/mci.c +++ b/dlls/winmm/tests/mci.c @@ -405,8 +405,8 @@ static void test_asyncWAVE(HWND hwnd) ok(strcmp(buf,"2000"), "mci status position: %s\n", buf); trace("position after Sleep: %sms\n",buf); p2 = atoi(buf); - /* MS-Windows' 15.625ms timer may return after 93ms? */ - ok(p2>=(WORD)(((WORD)(100/15.625))*15.625),"not enough time elapsed %ums\n",p2); + /* Some machines reach 79ms only during the 100ms sleep. */ + ok(p2>=67,"not enough time elapsed %ums\n",p2); test_notification(hwnd,"play (nowait)",0); err = mciSendString("pause mysound wait", NULL, 0, hwnd); -- 1.5.6.3