mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 763894 - Increase the fuzzy comparison of how much the idle time increased to 1.5 seconds instead of 1 second to account for the fuzziness of WinXP PGO
This commit is contained in:
parent
a08361ddc1
commit
04ffb8c2c0
@ -166,8 +166,8 @@ function testIdleTime()
|
||||
|
||||
var timePassed = Date.now() - startTimeStamp;
|
||||
var idleTimeDiff = newIdleTime - idleTime;
|
||||
// 1 second leniency.
|
||||
ok(timeDiff < 1000, "The idle time should have increased by roughly the " +
|
||||
// 1.5 second leniency.
|
||||
ok(timeDiff < 1500, "The idle time should have increased by roughly the " +
|
||||
"amount of time it took for the timeout to fire. " +
|
||||
"You didn't touch the mouse or keyboard during the " +
|
||||
"test did you?");
|
||||
|
Loading…
Reference in New Issue
Block a user