Bug 1315769, 1308416: Request longer timeouts for tests that can't be split up. a=test-only
authorKris Maglione <maglione.k@gmail.com>
Tue, 15 Nov 2016 09:36:27 -0800
changeset 352499 c7cc4485b48b9fa1dcc11e5f4e8617058faa716e
parent 352498 5cb1f5086ec8a261a849036d29740c540f75dfcc
child 352500 7711a93a09617dc0d52e811c1a22a9ee53bdf743
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1315769, 1308416
milestone52.0a2
Bug 1315769, 1308416: Request longer timeouts for tests that can't be split up. a=test-only 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;