Disable another wxStopWatch test case in the build bot builds.
We can't rely on the program waking up quickly enough when running on the (loaded) buildbot machines, better to skip this test than to have spurious failures. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -153,7 +153,19 @@ void StopWatchTestCase::RestartBug()
|
|||||||
WX_ASSERT_MESSAGE
|
WX_ASSERT_MESSAGE
|
||||||
(
|
(
|
||||||
("Actual time value is %ld", t),
|
("Actual time value is %ld", t),
|
||||||
t > offset + sleepTime - tolerance &&
|
t >= offset + sleepTime
|
||||||
t < offset + sleepTime + tolerance
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// As above, this is not actually due to the fact of the test being
|
||||||
|
// automatic but just because buildot machines are usually pretty slow, so
|
||||||
|
// this test often fails there simply because of the high load on them.
|
||||||
|
if ( !IsAutomaticTest() )
|
||||||
|
{
|
||||||
|
|
||||||
|
WX_ASSERT_MESSAGE
|
||||||
|
(
|
||||||
|
("Actual time value is %ld", t),
|
||||||
|
t < offset + sleepTime + tolerance
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user