From 082ccdbd669e25cc0c013da6a56d072e80f23105 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 4 Sep 2023 23:10:40 +0100 Subject: [PATCH] DEV: Reduce theme-qunit smoke test timeout (#23394) The theme tests we use for the smoke-test typically take 3-4 seconds to complete. This commit reduces the timeout from 10 minutes to 20 seconds, so that failures are detected more quickl --- lib/tasks/smoke_test.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/smoke_test.rake b/lib/tasks/smoke_test.rake index 502f135976f..ff5b8634a30 100644 --- a/lib/tasks/smoke_test.rake +++ b/lib/tasks/smoke_test.rake @@ -86,7 +86,7 @@ task "smoke:test" do query_params = { seed: Random.new.seed, theme_url: theme_url, hidepassed: 1, report_requests: 1 } url += "/" if !url.end_with?("/") full_url = "#{url}theme-qunit?#{query_params.to_query}" - timeout = 1000 * 60 * 10 + timeout = 1000 * 20 sh("node", "#{Rails.root}/test/run-qunit.js", full_url, timeout.to_s)