Relax timing restrictions on WakeUpTimersAreSingletons. (flutter/engine#16446)

We don’t run this test on bots because we don’t want timeouts on any tests. This
only runs locally as a sanity check for timers.
This commit is contained in:
Chinmay Garde 2020-02-06 12:35:36 -08:00 committed by GitHub
parent 0b3f68c172
commit f0ded2e849

View File

@ -331,8 +331,8 @@ TEST(MessageLoop, TIME_SENSITIVE(WakeUpTimersAreSingletons)) {
[&]() {
auto delta = fml::TimePoint::Now() - begin;
auto ms = delta.ToMillisecondsF();
ASSERT_GE(ms, 18);
ASSERT_LE(ms, 22);
ASSERT_GE(ms, 10);
ASSERT_LE(ms, 25);
loop_impl->Terminate();
},