Bug 1532404 - Disable org.mozilla.geckoview.test.MediaElementTest.webmPlayMediaFromScript on pgo and debug for frequent failures. r=jmaher a=test-only
authorDaniel Varga <dvarga@mozilla.com>
Tue, 04 Jun 2019 13:24:33 +0000
changeset 536714 0b0766cf7b2232d80f73710b3a1bfa4fb9a4864f
parent 536713 88114c48b1eeac094cd9bc707f0029dd8dc8e857
child 536715 e74c38d7d3f3236d555e61206e0e7e4b62e8ed12
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher, test-only
bugs1532404
milestone68.0
Bug 1532404 - Disable org.mozilla.geckoview.test.MediaElementTest.webmPlayMediaFromScript on pgo and debug for frequent failures. r=jmaher a=test-only Differential Revision: https://phabricator.services.mozilla.com/D33128
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/MediaElementTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/MediaElementTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/MediaElementTest.kt
@@ -10,16 +10,17 @@ import org.mozilla.geckoview.test.rule.G
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.TimeoutMillis
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.WithDevToolsAPI
 import org.mozilla.geckoview.test.util.Callbacks
 
 import android.support.test.filters.MediumTest
 import android.support.test.runner.AndroidJUnit4
 import org.hamcrest.Matchers.*
 import org.junit.Assume.assumeThat
+import org.junit.Assume.assumeTrue
 import org.junit.Ignore
 import org.junit.Test
 import org.junit.runner.RunWith
 import org.mozilla.geckoview.GeckoRuntimeSettings
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule
 
 @RunWith(AndroidJUnit4::class)
 @TimeoutMillis(45000)
@@ -269,17 +270,19 @@ class MediaElementTest : BaseSessionTest
     @Test
     fun webmPlayMedia() {
         playMedia(VIDEO_WEBM_PATH)
     }
 
     @WithDevToolsAPI
     @Test
     fun webmPlayMediaFromScript() {
-        playMediaFromScript(VIDEO_WEBM_PATH)
+        // disable test on pgo and debug for frequently failing Bug 1532404
+        assumeTrue(false)
+        playMediaFromScript(VIDEO_WEBM_PATH)        
     }
 
     @WithDevToolsAPI
     @Test
     fun webmPauseMedia() {
         pauseMedia(VIDEO_WEBM_PATH)
     }