Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Relax timing restrictions on WakeUpTimersAreSingletons. (flutter#16446)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chinmaygarde authored Feb 6, 2020
1 parent f3ce90e commit 71ec0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fml/message_loop_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down

0 comments on commit 71ec0a1

Please sign in to comment.