Sha256: 6c9b461c491c0deed4dfc742070bd5522c11298ae00c49266d1059906944dbbe

Contents?: true

Size: 549 Bytes

Versions: 2

Compression:

Stored size: 549 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', '1.23.0'
  gem 'json'
  gem 'rake'
RB

gemfile <<-RB
  gem 'resque', '~>1.24.1'
  gem 'json'
  gem 'rake'
RB

before_suite do
  ENV["NEWRELIC_MULTIVERSE_REDIS_PORT"] = (20_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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.4.122 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.4.113.beta test/multiverse/suites/resque/Envfile