Bug 1315769, 1308416: Request longer timeouts for tests that can't be split up.
authorKris Maglione <maglione.k@gmail.com>
Tue, 15 Nov 2016 09:36:27 -0800
changeset 322735 63120fccd9a26e9118c6a9d1c99777f6f39fa0a8
parent 322734 123e6164b536b9c4c873792dc1c5ed53a5951219
child 322736 c02bd40b1f686ef0054190e07f5e4ec9bfa1cc15
push id30961
push userkwierso@gmail.com
push dateThu, 17 Nov 2016 01:08:03 +0000
treeherdermozilla-central@c27117f67fa3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1315769, 1308416
milestone53.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 1315769, 1308416: Request longer timeouts for tests that can't be split up. MozReview-Commit-ID: IWRk3FYqKIE
browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed.js
browser/components/extensions/test/browser/browser_ext_windows_create.js
--- a/browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed.js
+++ b/browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed.js
@@ -1,15 +1,15 @@
 /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set sts=2 sw=2 et tw=80: */
 "use strict";
 
 /* globals recordInitialTimestamps, onlyNewItemsFilter, checkRecentlyClosed */
 
-SimpleTest.requestCompleteLog();
+requestLongerTimeout(2);
 
 Services.scriptloader.loadSubScript(new URL("head_sessions.js", gTestPath).href,
                                     this);
 
 add_task(function* test_sessions_get_recently_closed() {
   function* openAndCloseWindow(url = "http://example.com", tabUrls) {
     let win = yield BrowserTestUtils.openNewBrowserWindow();
     yield BrowserTestUtils.loadURI(win.gBrowser.selectedBrowser, url);
--- a/browser/components/extensions/test/browser/browser_ext_windows_create.js
+++ b/browser/components/extensions/test/browser/browser_ext_windows_create.js
@@ -1,12 +1,14 @@
 /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set sts=2 sw=2 et tw=80: */
 "use strict";
 
+requestLongerTimeout(2);
+
 add_task(function* testWindowCreate() {
   let extension = ExtensionTestUtils.loadExtension({
     async background() {
       let _checkWindowPromise;
       browser.test.onMessage.addListener(msg => {
         if (msg == "checked-window") {
           _checkWindowPromise.resolve();
           _checkWindowPromise = null;