Bug 1581657 - Disable ContentBlockingControllerTest.getLog() on Android 7.0 debug. r=gbrown
authorMihai Alexandru Michis <malexandru@mozilla.com>
Mon, 28 Oct 2019 15:05:17 +0000
changeset 499467 17e43e854a153904d3fa7501c6049fb6866c2c80
parent 499466 d48c19be70fea3f669d456f1f8920a8096c8ae00
child 499468 08f79829f9f22e52cc4a943ff7f7c7758369283b
push id98981
push userrmaries@mozilla.com
push dateMon, 28 Oct 2019 15:23:02 +0000
treeherderautoland@17e43e854a15 [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 7.0 debug. r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D50671
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
@@ -148,16 +148,19 @@ class ContentBlockingControllerTest : Ba
 
     @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 {
                     assertThat("Category must match", it.category,