Sha256: a7f80056fff0391dabd763f2238be240b3b22496971dd8fa31926adc74d22c08

Contents?: true

Size: 630 Bytes

Versions: 12

Compression:

Stored size: 630 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
  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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.3.111 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.3.106 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.3.105.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.3.104 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.3.103.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.2.96 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.2.90.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.1.88 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.1.87 test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.1.86.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.1.85.beta test/multiverse/suites/resque/Envfile
newrelic_rpm-3.6.0.83 test/multiverse/suites/resque/Envfile