Bug 1577105 - Request a longer timeout for antitracking browser mochitests for code coverage builds. r=gbrown
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Tue, 10 Sep 2019 16:04:19 +0000
changeset 557213 0e0e9c22321ed9f284744cfeb3507710b2d5d606
parent 557212 35e9f24cc4c92b6e829dbc974c649c2399da8932
child 557214 b188ca5e00bb94c106ff796c18ab1d79c9db8743
push id2195
push userffxbld-merge
push dateMon, 25 Nov 2019 12:02:33 +0000
treeherdermozilla-release@19adee6f7bb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1577105
milestone71.0a1
first release with
nightly linux32
0e0e9c22321e / 71.0a1 / 20190910213950 / files
nightly linux64
0e0e9c22321e / 71.0a1 / 20190910213950 / files
nightly mac
0e0e9c22321e / 71.0a1 / 20190910213950 / files
nightly win32
0e0e9c22321e / 71.0a1 / 20190910213950 / files
nightly win64
0e0e9c22321e / 71.0a1 / 20190910213950 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1577105 - Request a longer timeout for antitracking browser mochitests for code coverage builds. r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D45369
toolkit/components/antitracking/test/browser/head.js
--- a/toolkit/components/antitracking/test/browser/head.js
+++ b/toolkit/components/antitracking/test/browser/head.js
@@ -45,17 +45,21 @@ const TEST_4TH_PARTY_PARTITIONED_PAGE =
   TEST_4TH_PARTY_DOMAIN + TEST_PATH + "3rdPartyPartitioned.html";
 
 const BEHAVIOR_ACCEPT = Ci.nsICookieService.BEHAVIOR_ACCEPT;
 const BEHAVIOR_REJECT = Ci.nsICookieService.BEHAVIOR_REJECT;
 const BEHAVIOR_LIMIT_FOREIGN = Ci.nsICookieService.BEHAVIOR_LIMIT_FOREIGN;
 const BEHAVIOR_REJECT_FOREIGN = Ci.nsICookieService.BEHAVIOR_REJECT_FOREIGN;
 const BEHAVIOR_REJECT_TRACKER = Ci.nsICookieService.BEHAVIOR_REJECT_TRACKER;
 
-requestLongerTimeout(3);
+if (AppConstants.MOZ_CODE_COVERAGE) {
+  requestLongerTimeout(6);
+} else {
+  requestLongerTimeout(3);
+}
 
 const { UrlClassifierTestUtils } = ChromeUtils.import(
   "resource://testing-common/UrlClassifierTestUtils.jsm"
 );
 
 const { PermissionTestUtils } = ChromeUtils.import(
   "resource://testing-common/PermissionTestUtils.jsm"
 );