Bug 1544169 - Disabled onHistoryStateChange on debug build. r=gbrown
authorGurzau Raul <rgurzau@mozilla.com>
Fri, 10 May 2019 17:03:22 +0000
changeset 532371 b6f4ce748f196ca35e952bf6d85975d92d2b847a
parent 532370 3a4913c11d873988958f0ecae58ab4ec90265884
child 532372 e4f5f5cdc59d5f2f9a890f7cacf96f275c704ebd
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1544169
milestone68.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 1544169 - Disabled onHistoryStateChange on debug build. r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D30645
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/HistoryDelegateTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/HistoryDelegateTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/HistoryDelegateTest.kt
@@ -12,16 +12,17 @@ import org.mozilla.geckoview.test.rule.G
 
 
 import android.support.test.filters.MediumTest
 import android.support.test.runner.AndroidJUnit4
 import org.hamcrest.Matchers.*
 import org.junit.Test
 import org.junit.runner.RunWith
 import org.mozilla.geckoview.test.util.Callbacks
+import org.junit.Ignore
 
 @RunWith(AndroidJUnit4::class)
 @MediumTest
 class HistoryDelegateTest : BaseSessionTest() {
     companion object {
         // Keep in sync with the styles in `LINKS_HTML_PATH`.
         const val UNVISITED_COLOR = "rgb(0, 0, 255)"
         const val VISITED_COLOR = "rgb(255, 0, 0)"
@@ -129,16 +130,17 @@ class HistoryDelegateTest : BaseSessionT
         assertThat(
             "Bugzilla should be unvisited",
             sessionRule.waitForChromeJS("getLinkColor('#bugzilla')") as String,
             equalTo(UNVISITED_COLOR)
         )
     }
 
     @ReuseSession(false)
+    @Ignore //disable test on debug for frequent failures Bug 1544169
     @Test fun onHistoryStateChange() {
         sessionRule.session.loadTestPath(HELLO_HTML_PATH)
 
         sessionRule.waitUntilCalled(object : Callbacks.HistoryDelegate {
             @AssertCalled(count = 1)
             override fun onHistoryStateChange(session: GeckoSession, state: GeckoSession.HistoryDelegate.HistoryList) {
                 assertThat("History should have one entry", state.size,
                         equalTo(1))