test/multiverse/lib/multiverse/runner.rb in newrelic_rpm-4.0.0.332 vs test/multiverse/lib/multiverse/runner.rb in newrelic_rpm-4.1.0.333
- old
+ new
@@ -89,16 +89,24 @@
"database" => ["datamapper", "mongo", "redis", "sequel"],
"httpclients" => ["curb", "excon", "httpclient", "typhoeus", "net_http", "httprb"],
"rails" => ["active_record", "rails"],
"serialization" => ["json", "marshalling", "yajl"],
"sinatra" => ["sinatra", "padrino"],
- "background_2" => ["rake", "resque"],
+ "background_2" => ["resque"],
"rest" => [] # Specially handled below
}
+ # Would like to reinstate but requires investigation, see RUBY-1749
+ unless RUBY_VERSION >= '2.1' and RUBY_VERSION < '2.3'
+ GROUPS['background_2'] << 'rake'
+ end
+
def passes_filter?(dir, filter)
return true if filter.nil?
+
+ # Would like to reinstate but requires investigation, see RUBY-1749
+ return false if dir == 'rake' and RUBY_VERSION >= '2.1' and RUBY_VERSION < '2.3'
if filter.include?("group=")
key = filter.sub("group=", "")
group = GROUPS[key]
if group.nil?