forked from firka/flutter
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:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user