Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Issue 2518063006: Fixing MediaFling tests (Closed)

Created:
4 years, 1 month ago by Zhiqiang Zhang (Slow)
Modified:
4 years ago
Reviewers:
whywhat, mustaq
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org, mustaq
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing MediaFling tests The MediaFling tests started failing due to an issue related to injecting MouseEvents, which causes the cast button not receiving touch event, therefore the tests timed out waiting for the Cast route selection dialog. This CL changes the test util from using TOOL_TYPE_MOUSE to TOOL_TYPE_FINGER, which fixes the issue. This CL also re-enables tests that were disabled/marked as flaky due to this touch event issue. BUG=623526, 665182 Committed: https://crrev.com/b295326bdf5fd50fd4c782c7dda3024b426a5521 Cr-Commit-Position: refs/heads/master@{#434346}

Patch Set 1 #

Patch Set 2 : marking previous @FlakyTest as @RetryOnFailure #

Total comments: 4

Patch Set 3 : addressed nits from mustaq #

Messages

Total messages: 38 (23 generated)
Zhiqiang Zhang (Slow)
PTAL The main change is in RouteTestUtils.java. I'm not very sure why TOOL_TYPE_FINGER and TOOL_TYPE_MOUSE ...
4 years, 1 month ago (2016-11-22 22:21:33 UTC) #3
whywhat
Good find. LGTM. I think that's probably related to mustaq's work on the mouse and ...
4 years, 1 month ago (2016-11-22 22:27:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518063006/20001
4 years ago (2016-11-23 11:16:39 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/320758)
4 years ago (2016-11-23 12:37:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518063006/20001
4 years ago (2016-11-23 13:15:56 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/320823)
4 years ago (2016-11-23 14:38:36 UTC) #18
mustaq
https://codereview.chromium.org/2518063006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java File chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java (right): https://codereview.chromium.org/2518063006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java#newcode140 chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java:140: private static void sendMouseAction(Instrumentation instrumentation, int action, long downTime, ...
4 years ago (2016-11-23 14:54:06 UTC) #20
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2518063006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java File chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java (right): https://codereview.chromium.org/2518063006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java#newcode140 chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java:140: private static void sendMouseAction(Instrumentation instrumentation, int action, long downTime, ...
4 years ago (2016-11-23 17:07:42 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518063006/40001
4 years ago (2016-11-23 17:08:25 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/320994)
4 years ago (2016-11-23 19:37:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518063006/40001
4 years ago (2016-11-24 11:14:10 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_rel_ng on ...
4 years ago (2016-11-24 13:15:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518063006/40001
4 years ago (2016-11-24 14:54:40 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-24 16:37:45 UTC) #36
commit-bot: I haz the power
4 years ago (2016-11-24 16:41:07 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b295326bdf5fd50fd4c782c7dda3024b426a5521
Cr-Commit-Position: refs/heads/master@{#434346}

Powered by Google App Engine
This is Rietveld 408576698