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
This commit is contained in:
David Taylor 2023-09-04 23:10:40 +01:00 committed by GitHub
parent 3c63db9123
commit 082ccdbd66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)