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