Yet another wxStopWatch unit test fix for buildbot.
Relax the check in RestartBug() test too, the time can be slightly smaller than expected (by ~2ms on disc-xp machine).
This commit is contained in:
parent
cd6fb7a9bd
commit
7af8598903
@ -153,7 +153,7 @@ void StopWatchTestCase::RestartBug()
|
||||
WX_ASSERT_MESSAGE
|
||||
(
|
||||
("Actual time value is %ld", t),
|
||||
t >= offset + sleepTime
|
||||
t >= offset + sleepTime - tolerance
|
||||
);
|
||||
|
||||
// As above, this is not actually due to the fact of the test being
|
||||
|
Loading…
Reference in New Issue
Block a user