Bug 1557569 - Disable ScreenshotTest.capturePixelsThrowsCompositorNotReady for frequent failures. r=gbrown
authorMihai Alexandru Michis <malexandru@mozilla.com>
Thu, 04 Jul 2019 15:27:28 +0000
changeset 544144 44acade85bf20f114e3d9a64c446bed5c0124112
parent 544143 bd80bd3877207544ef373aa81efaba6566f318e4
child 544145 ac31aae4bcd4ac623bfdc4e0af50a3bbdbb437f4
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1557569
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1557569 - Disable ScreenshotTest.capturePixelsThrowsCompositorNotReady for frequent failures. r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D36901
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ScreenshotTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ScreenshotTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ScreenshotTest.kt
@@ -5,16 +5,17 @@
 package org.mozilla.geckoview.test
 
 
 import android.graphics.*
 import android.support.test.filters.MediumTest
 import android.support.test.runner.AndroidJUnit4
 import android.view.Surface
 import org.hamcrest.Matchers.*
+import org.junit.Ignore
 import org.junit.Assert.fail
 import org.junit.Rule
 import org.junit.Test
 import org.junit.rules.ExpectedException
 import org.junit.runner.RunWith
 import org.mozilla.geckoview.GeckoResult
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.ReuseSession
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.WithDisplay
@@ -96,16 +97,17 @@ class ScreenshotTest : BaseSessionTest()
             val texture = SurfaceTexture(0)
             texture.setDefaultBufferSize(SCREEN_WIDTH, SCREEN_HEIGHT)
             val surface = Surface(texture)
             it.surfaceChanged(surface, SCREEN_WIDTH, SCREEN_HEIGHT)
             sessionRule.waitForResult(result)
         }
     }
 
+    @Ignore //Disable test for frequent failures Bug 1557569
     @Test
     fun capturePixelsThrowsCompositorNotReady() {
         expectedEx.expect(IllegalStateException::class.java)
         expectedEx.expectMessage("Compositor must be ready before pixels can be captured")
         val session = sessionRule.createClosedSession()
         val display = session.acquireDisplay()
 
         sessionRule.waitForResult(display.capturePixels())