Sha256: 50f548162561480cadd57295e4373b82eff55a1cb1559d7a18ce39a4a2efa93d
Contents?: true
Size: 632 Bytes
Versions: 15
Compression:
Stored size: 632 Bytes
Contents
suite_condition("Resque tests not compatible with 1.8.6, JRuby") do RUBY_VERSION != '1.8.6' && RUBY_PLATFORM != 'java' end gemfile <<-RB gem 'resque' gem 'json' gem 'rake' if (RUBY_PLATFORM == 'java') gem "jruby-openssl" end RB before_suite do ENV["NEWRELIC_MULTIVERSE_REDIS_PORT"] = (20_000 + ($$ % 10_000)).to_s ENV["NEWRELIC_MULTIVERSE_FAKE_COLLECTOR_PORT"] = (30_000 + ($$ % 10_000)).to_s system("echo 'port #{ENV["NEWRELIC_MULTIVERSE_REDIS_PORT"]}' | redis-server - > /dev/null &") end after_suite do system("redis-cli -p #{ENV["NEWRELIC_MULTIVERSE_REDIS_PORT"]} shutdown") end execute_mode 'spawn'
Version data entries
15 entries across 15 versions & 3 rubygems