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

Version Path
newrelic_rpm-3.6.0.78 test/multiverse/suites/resque/Envfile
wd_newrelic_rpm-3.5.8 test/multiverse/suites/resque/Envfile
sundawg_newrelic_rpm-3.5.8.2 test/multiverse/suites/resque/Envfile
sundawg_newrelic_rpm-3.5.8.1 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.0.74.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.8.72 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.8.70 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.8.64.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.7.59 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.7.59.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.7.58.beta test/multiverse/suites/resque/Envfile
wd_newrelic_rpm-3.5.6 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.7.57.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.6.55 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.5.6.48.beta test/multiverse/suites/resque/Envfile