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:
Vadim Zeitlin 2015-04-12 22:46:46 +02:00
parent b7778beeef
commit ca0c422964

View File

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