Skip to content

Commit 93d7b07

Browse files
committed
Fix ActionView UJS build
The UJS build has been failing with Chrome failed to start. This commit fixes it by adding the option `--no-sandbox`. Travis removed the sanbox option which is why Chrome crashes. Ref travis-ci/travis-ci#8836 Example failure: https://travis-ci.org/rails/rails/jobs/330396750
1 parent c046143 commit 93d7b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/qunit-selenium-runner.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
driver_options = Selenium::WebDriver::Chrome::Options.new
77
driver_options.add_argument("--headless")
88
driver_options.add_argument("--disable-gpu")
9+
driver_options.add_argument("--no-sandbox")
910

1011
driver = ::Selenium::WebDriver.for(:chrome, options: driver_options)
1112
result = QUnit::Selenium::TestRunner.new(driver).open(ARGV[0], timeout: 60)

0 commit comments

Comments
 (0)