From df6e8b924e79839bc1ba9305788c920dcd2c8dc9 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 1 Dec 2021 19:30:33 +0100 Subject: [PATCH] DEV: Make legacy ember tests less likely to fail (#15147) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …on launch --- lib/tasks/qunit.rake | 3 ++- test/run-qunit.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake index 0f53c6109cc..37c0da09f19 100644 --- a/lib/tasks/qunit.rake +++ b/lib/tasks/qunit.rake @@ -54,7 +54,8 @@ task "qunit:test", [:timeout, :qunit_path] do |_, args| "DISCOURSE_SKIP_CSS_WATCHER" => "1", "UNICORN_LISTENER" => "127.0.0.1:#{unicorn_port}", "LOGSTASH_UNICORN_URI" => nil, - "UNICORN_WORKERS" => "3" + "UNICORN_WORKERS" => "1", + "UNICORN_TIMEOUT" => "90", } cmd = if ember_cli diff --git a/test/run-qunit.js b/test/run-qunit.js index 5c22125e248..2ec905fc503 100644 --- a/test/run-qunit.js +++ b/test/run-qunit.js @@ -148,7 +148,7 @@ async function runAllTests() { }); } - console.log("navigate to ", url); + console.log("navigate to", url); Page.navigate({ url }); Page.loadEventFired(async () => {