Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Deflake by adding .. a timeout :(
  • Loading branch information
dnfield committed Sep 1, 2020
commit b82af7b075dbbcb234eeae87280088b4a49997b0
5 changes: 2 additions & 3 deletions lib/ui/painting/image_dispose_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ TEST_F(ImageDisposeTest, ImageReleasedAfterFrame) {
// Make sure we wait longer than the animator's notify idle.
// which is 51ms in animator.cc.
message_latch_.Reset();
task_runner->PostDelayedTask([&]() {
message_latch_.Signal();
}, fml::TimeDelta::FromMilliseconds(60));
task_runner->PostDelayedTask([&]() { message_latch_.Signal(); },
fml::TimeDelta::FromMilliseconds(60));
message_latch_.Wait();
picture_finalizer_latch_.Wait();

Expand Down