Bug 1186323 - Increase the timeout of browser_perf-theme-toggle-01.js. a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 17 Aug 2015 11:47:41 -0400
changeset 288779 49d5f5eb473a60adfc227080bec78e946bdf7cd2
parent 288778 3321207d5264254b55f004f51dad0cbb559c1d54
child 288780 89bc7fc0d12eb2381a5197f4e67501176b88191b
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1186323
milestone42.0a2
Bug 1186323 - Increase the timeout of browser_perf-theme-toggle-01.js. a=test-only
browser/devtools/performance/test/browser_perf-theme-toggle-01.js
--- a/browser/devtools/performance/test/browser_perf-theme-toggle-01.js
+++ b/browser/devtools/performance/test/browser_perf-theme-toggle-01.js
@@ -9,16 +9,18 @@
 const { setTheme } = require("devtools/shared/theme");
 
 const LIGHT_BG = "#fcfcfc";
 const DARK_BG = "#14171a";
 
 setTheme("dark");
 Services.prefs.setBoolPref(MEMORY_PREF, false);
 
+requestLongerTimeout(2);
+
 function* spawnTest() {
   let { panel } = yield initPerformance(SIMPLE_URL);
   let { EVENTS, $, OverviewView, document: doc } = panel.panelWin;
 
   yield startRecording(panel);
   let markers = OverviewView.graphs.get("timeline");
   is(markers.backgroundColor, DARK_BG,
     "correct theme on load for markers.");