From bc9566146f3ae498d0f166e21fa6468b28a3a7b3 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Fri, 10 Jul 2020 21:24:24 +0200 Subject: [PATCH] do not wait a hardcoded amount of 10 seconds for files to be minified. this setup time is not included in the total time of the first test. --- tests/frontend/travis/remote_runner.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/frontend/travis/remote_runner.js b/tests/frontend/travis/remote_runner.js index c0161634d..a77e98c2b 100644 --- a/tests/frontend/travis/remote_runner.js +++ b/tests/frontend/travis/remote_runner.js @@ -20,8 +20,6 @@ var sauceTestWorker = async.queue(function (testSettings, callback) { testSettings["extendedDebugging"] = true; // console.json can be downloaded via saucelabs, don't know how to print them into output of the tests testSettings["tunnelIdentifier"] = process.env.TRAVIS_JOB_NUMBER; - // we wait 10 seconds here with the hope it was enough time for the minified files to be built etc. - setTimeout(function(){ browser.init(testSettings).get("http://localhost:9001/tests/frontend/", function(){ var url = "https://saucelabs.com/jobs/" + browser.sessionID; console.log("Remote sauce test '" + name + "' started! " + url); @@ -78,8 +76,6 @@ var sauceTestWorker = async.queue(function (testSettings, callback) { }, 5000); }); - }, 10000); - }, 1); //run 1 test in parrallel // 1) Firefox on Linux