Skip to content

Commit

Permalink
Allow access to $HOME for TruffleRuby
Browse files Browse the repository at this point in the history
See jruby/jruby#5661 for details
  • Loading branch information
p0deje committed Nov 11, 2022
1 parent 04ede9e commit a2d7632
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ build --test_env=PYTHON_VERSION

build --test_env=RUBYOPT="-Irb/lib -w"

# JRuby/TruffleRuby: https://github.com/jruby/jruby/issues/5661
build --action_env=HOME
test --test_env=HOME

test --test_timeout=1800

test:node_debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/child_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def io
end

def start
options = {%i(out err) => io}
options = {%i[out err] => io}
options[:pgroup] = true unless Platform.windows? # NOTE: this is a bug only in Windows 7

WebDriver.logger.debug("Starting process: #{@command} with #{options}")
Expand Down

0 comments on commit a2d7632

Please sign in to comment.