Commit db921ef7 authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

winmm/tests: Give flaky progress test more time.

parent 8d5e5e74
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment