Bug 1754570 - temporarily disable capturePixelsAfterGpuProcessCrash on opt r=intermittent-reviewers,geckoview-reviewers,m_kato,MasterWayZ

Differential Revision: https://phabricator.services.mozilla.com/D158340
This commit is contained in:
Andreea Pavel 2022-10-03 12:11:51 +00:00
parent 2f658abdfe
commit 86cc5257f0

View File

@ -233,6 +233,9 @@ class ScreenshotTest : BaseSessionTest() {
@WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH)
@Test(expected = IllegalStateException::class)
fun capturePixelsAfterGpuProcessCrash() {
// Bug 1754570 - temporarily disable the test
assumeThat(sessionRule.env.isDebugBuild, equalTo(true))
// We need the GPU process for this test
assumeTrue(sessionRule.usingGpuProcess())