Sha256: e18fe4811ae5819d3d334c2b686ad5f737f73ea0a9379e97cc78367b8d36618b
Contents?: true
Size: 675 Bytes
Versions: 11
Compression:
Stored size: 675 Bytes
Contents
require 'aruba/cucumber' PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze Aruba.configure do |config| config.exit_timeout = Integer ENV.fetch("ARUBA_TIMEOUT") { 120 } end Aruba.configure do |config| config.before_cmd do |cmd| set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived java_options = ENV['JAVA_OPTS'] if 1.size == 4 # 4 for 32 bit java, 8 for 64 bit java. set_env('JAVA_OPTS', "-d32 #{java_options}") else set_env('JAVA_OPTS', "-XX:+TieredCompilation -XX:TieredStopAtLevel=1 #{java_options}") end end end if RUBY_PLATFORM == 'java'
Version data entries
11 entries across 11 versions & 5 rubygems