mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
0b3f68c172
commit
f0ded2e849
@ -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();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user