From 4ed9b1e24458e20fae47030eca3d415a84c4c672 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 13 Apr 2015 15:55:33 +0200 Subject: [PATCH] Relax another check in wxStopWatch unit test. Increase the upper bound even further to avoid spurious failures in the buildbot builds. --- 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 a7708a85b6..1794cbfec1 100644 --- a/tests/events/stopwatch.cpp +++ b/tests/events/stopwatch.cpp @@ -95,7 +95,7 @@ void StopWatchTestCase::Misc() WX_ASSERT_MESSAGE ( ("Actual time value is %ld", t), - t > sleepTime - tolerance && t < sleepTime + tolerance + t > sleepTime - tolerance && t < 2*sleepTime ); sw.Pause();