Skip to content

Commit 976f806

Browse files
jorgemanrubiajeremy
authored andcommitted
Give Chrome longer to boot in system tests
Ferrum's 10 second default process_timeout is too tight on loaded CI runners, where Chrome intermittently fails to publish its websocket URL in time and the whole matrix cell errors before running.
1 parent 3282411 commit 976f806

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

action_text-trix/test/application_system_test_case.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
66
driven_by :cuprite, using: :chrome, options: {
77
js_errors: true,
8-
headless: ENV["HEADLESS"] != "0"
8+
headless: ENV["HEADLESS"] != "0",
9+
# Ferrum's 10s default is too tight for Chrome to boot on loaded CI runners
10+
process_timeout: 60
911
}
1012
end
1113

0 commit comments

Comments
 (0)