From 7af85989036f430a079d9d6aa11e1c044f396eba Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Apr 2015 15:55:24 +0200 Subject: [PATCH] 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). --- tests/events/stopwatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/events/stopwatch.cpp b/tests/events/stopwatch.cpp index 6b6a47612b..0b608f3352 100644 --- a/tests/events/stopwatch.cpp +++ b/tests/events/stopwatch.cpp @@ -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