winmm/tests: Give flaky progress test more time.

This commit is contained in:
Jörg Höhle 2009-11-08 22:50:41 +01:00 committed by Alexandre Julliard
parent 8d5e5e74a1
commit db921ef7dc
1 changed files with 2 additions and 2 deletions

View File

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