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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java

Issue 2355363002: android: Mark flaky tests with @RetryOnFailure (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
index 8188c66f8f9699335d149060049802ef72b9653e..a92798f6da7bd4d2c9a32e7232675bd0d1be5a26 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
@@ -145,6 +145,7 @@ public class MediaSessionTest extends ContentShellTestBase {
@MediumTest
@Feature({"MediaSession"})
+ @RetryOnFailure
public void testShortVideoIsTransient() throws Exception {
assertEquals(AudioManager.AUDIOFOCUS_LOSS, mAudioFocusChangeListener.getAudioFocusState());
mAudioFocusChangeListener.requestAudioFocus(AudioManager.AUDIOFOCUS_GAIN);

Powered by Google App Engine
This is Rietveld 408576698