test/test_helper.rb in newrelic_rpm-3.1.0 vs test/test_helper.rb in newrelic_rpm-3.1.1.beta1

- old
+ new

@@ -99,10 +99,10 @@ assert_not_equal first_metrics, last_metrics, "should have changed these metrics" end def compare_metrics(expected, actual) - actual.delete('GC/cumulative') # in case we are in REE + actual.delete_if {|a| a.include?('GC/cumulative') } # in case we are in REE assert_equal(expected.to_a.sort, actual.to_a.sort, "extra: #{(actual - expected).to_a.inspect}; missing: #{(expected - actual).to_a.inspect}") end module TransactionSampleTestHelper def make_sql_transaction(*sql)