Bug 1538430 - Disable org.mozilla.geckoview.test.RuntimeSettingsTest.automaticFontSize on Android pgo for frequent failures. r=jmaher, a=test-only
authorCosmin Sabou <csabou@mozilla.com>
Wed, 05 Jun 2019 19:14:37 +0000
changeset 536731 a954bf8992bdb680fb1a1b9047f2fcc1177c9e3f
parent 536730 e19858be0819cda92c46220fa8818996adb8b20e
child 536732 ffa52c63ff472d43c6b81170a32dc98b05cc7dde
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
bugs1538430
milestone68.0
Bug 1538430 - Disable org.mozilla.geckoview.test.RuntimeSettingsTest.automaticFontSize on Android pgo for frequent failures. r=jmaher, a=test-only Differential Revision: https://phabricator.services.mozilla.com/D33398
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/RuntimeSettingsTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/RuntimeSettingsTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/RuntimeSettingsTest.kt
@@ -4,27 +4,29 @@
 
 package org.mozilla.geckoview.test
 
 import android.provider.Settings
 import android.support.test.InstrumentationRegistry
 import android.support.test.filters.MediumTest
 import android.support.test.runner.AndroidJUnit4
 import org.hamcrest.Matchers.*
+import org.junit.Ignore
 import org.junit.Test
 import org.junit.runner.RunWith
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.ReuseSession
 import org.mozilla.geckoview.test.rule.GeckoSessionTestRule.WithDevToolsAPI
 import kotlin.math.roundToInt
 
 @RunWith(AndroidJUnit4::class)
 @MediumTest
 @ReuseSession(false)
 class RuntimeSettingsTest : BaseSessionTest() {
 
+    @Ignore("disable test for frequently failing Bug 1538430")
     @Test fun automaticFontSize() {
         val settings = sessionRule.runtime.settings
         var initialFontSize = 2.15f
         var initialFontInflation = true
         settings.fontSizeFactor = initialFontSize
         assertThat("initial font scale $initialFontSize set",
                 settings.fontSizeFactor.toDouble(), closeTo(initialFontSize.toDouble(), 0.05))
         settings.fontInflationEnabled = initialFontInflation