DescriptionWait for SHOW_PRESS gesture to avoid flake in root_window_unittest.cc
Previously in RootWindowTest.TouchMovesHeld, sometimes a SHOW_PRESS
gesture would be fired, and sometimes it wouldn't, depending on
whether or not the 5ms timer used in tests for the SHOW_PRESS
gesture was fired. Now we explicitly wait for the gesture to be
fired before continuing.
Marked flaky here: https://codereview.chromium.org/136013002/
TEST=RootWindowTest.TouchMovesHeld
BUG=333644
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245087
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #Patch Set 4 : Rebase? #
Total comments: 4
Patch Set 5 : Address sadrul's comments. #Messages
Total messages: 7 (0 generated)
|