Bug 1331122 - Increase test timeout for browser_toolbox_races. r=jdescottes
This test toggles the toolbox multiple times (3),
it can be take significant amount of time on slow test machines.
MozReview-Commit-ID: 3wJ95Pd8lYN
--- a/devtools/client/framework/test/browser_toolbox_races.js
+++ b/devtools/client/framework/test/browser_toolbox_races.js
@@ -1,15 +1,18 @@
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
+// Toggling the toolbox three time can take more than 45s on slow test machine
+requestLongerTimeout(2);
+
// Test toggling the toolbox quickly and see if there is any race breaking it.
const URL = "data:text/html;charset=utf-8,Toggling devtools quickly";
add_task(function* () {
// Make sure this test starts with the selectedTool pref cleared. Previous
// tests select various tools, and that sets this pref.
Services.prefs.clearUserPref("devtools.toolbox.selectedTool");