Bug 1368332 - Request a longer test timeout for the browser_ext_devtools_panel test file. r=aswan
authorLuca Greco <lgreco@mozilla.com>
Mon, 16 Apr 2018 13:26:58 +0200
changeset 467554 2f01bf0dc41a00db89056feaf02b489d28c876cf
parent 467553 de79e5a6aa531d3bb76a8a80a808e32232d2aa3c
child 467555 e9faaa64aa9e3073a00160c89442ce7135b6cfad
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan
bugs1368332, 1394750
milestone61.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 1368332 - Request a longer test timeout for the browser_ext_devtools_panel test file. r=aswan This patch requests a bit longer test timeout for browser_ext_devtools_panel.js, similarly to other tests that open/close the devtools toolbox multiple times, because it often timeouts on linux32 debug builds after we added a couple more "toolbox open/close" cycles to test Bug 1394750 changes (and also made the devtools theme API tests more readable by splitting it from the test case that verifies the rest of the devtools panel API). MozReview-Commit-ID: 3JRWobPRwr5
browser/components/extensions/test/browser/browser_ext_devtools_panel.js
--- a/browser/components/extensions/test/browser/browser_ext_devtools_panel.js
+++ b/browser/components/extensions/test/browser/browser_ext_devtools_panel.js
@@ -1,12 +1,16 @@
 /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set sts=2 sw=2 et tw=80: */
 "use strict";
 
+// Like most of the mochitest-browser devtools test,
+// on debug test slave, it takes about 50s to run the test.
+requestLongerTimeout(4);
+
 ChromeUtils.defineModuleGetter(this, "Preferences",
                                "resource://gre/modules/Preferences.jsm");
 
 const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {});
 const {gDevTools} = require("devtools/client/framework/devtools");
 
 const DEVTOOLS_THEME_PREF = "devtools.theme";