Bug 1581657 - Disable ContentBlockingControllerTest.getLog() on Android r=gbrown
authorAndreea Pavel <apavel@mozilla.com>
Thu, 07 Nov 2019 16:04:58 +0000
changeset 501123 ed588410fb6bddefad350b1d9a0c232310f1412a
parent 501122 36b9d7d55eaef1dec87bb58c0086e4fb6fb69a83
child 501124 271bbaa11d214236cb48d1cad9b2cf10ec440bc2
push id100006
push userrmaries@mozilla.com
push dateThu, 07 Nov 2019 16:36:37 +0000
treeherderautoland@ed588410fb6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1581657
milestone72.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 1581657 - Disable ContentBlockingControllerTest.getLog() on Android r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D52175
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ContentBlockingControllerTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ContentBlockingControllerTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ContentBlockingControllerTest.kt
@@ -141,25 +141,24 @@ class ContentBlockingControllerTest : Ba
                 .saveExceptionList())
         assertThat("Exported list must not be null", export, Matchers.notNullValue())
         assertThat("Exported list must contain one entry", export.uris.size, Matchers.equalTo(1))
 
         // Wipe so as not to break other tests.
         sessionRule.runtime.contentBlockingController.clearExceptionList()
     }
 
+    @Ignore //Bug 1581657 - ignore test to reduce frequent failures
     @Test
     fun getLog() {
         val category = ContentBlocking.AntiTracking.TEST
         sessionRule.runtime.settings.contentBlocking.setAntiTracking(category)
         sessionRule.session.settings.useTrackingProtection = true
         sessionRule.session.loadTestPath(TRACKERS_PATH)
 
-        assumeThat(sessionRule.env.isDebugBuild,
-                   equalTo(false))
 
         sessionRule.waitForPageStop()
 
         sessionRule.waitForResult(sessionRule.runtime.contentBlockingController.getLog(sessionRule.session).accept {
             assertThat("Log must not be null", it, Matchers.notNullValue())
             assertThat("Log must have at least one entry", it?.size, Matchers.not(0))
             it?.forEach {
                 it.blockingData.forEach {