From d130167576f8557542071596f31ede6cf8e4759e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 26 Dec 2011 12:57:49 +0000 Subject: [PATCH] Increase the tolerance in wxStopWatch unit test. Sleeping can take more time than expected when running on the build slaves, probably because the machine is heavily loaded. Increase the tolerance to prevent this from resulting in test failures. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 3150fde719..a3827877b6 100644 --- a/tests/events/stopwatch.cpp +++ b/tests/events/stopwatch.cpp @@ -29,7 +29,7 @@ namespace { -const long tolerance = 10; // in ms +const long tolerance = 50; // in ms const int sleepTime = 500; } // anonymous namespace -- 2.45.2