Relax wxStopWatch test to make it less likely to fail on buildbot.
Be prepared for sleeping taking more time than we budget for it on a highly loaded machine such as a buildbot slave.
This commit is contained in:
parent
b7778beeef
commit
ca0c422964
@ -119,7 +119,7 @@ void StopWatchTestCase::Misc()
|
||||
WX_ASSERT_MESSAGE
|
||||
(
|
||||
("Actual time value is %ld", t),
|
||||
t > 2*sleepTime - tolerance && t < 2*sleepTime + tolerance
|
||||
t > 2*sleepTime - tolerance && t < 3*sleepTime
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user