test/performance/suites/marshalling.rb in newrelic_rpm-3.9.3.241 vs test/performance/suites/marshalling.rb in newrelic_rpm-3.9.4.245

- old
+ new

@@ -145,22 +145,22 @@ # Build an object graph that approximates a large analytics_event_data payload def build_analytics_events_payload events = [] 1000.times do event = { - :timestamp => Time.now.to_f, - :name => "Controller/foo/bar", - :type => "Transaction", - :duration => rand, - :databaseDuration => rand, - :databaseCallCount=> rand, - :gcCumulative => rand, - :host => 'lo-calhost', - :color => 'blue-green', - :shape => 'squarish', - :texture => 'sort of lumpy like a bag of frozen peas' + 'timestamp' => Time.now.to_f, + 'name' => "Controller/foo/bar", + 'type' => "Transaction", + 'duration' => rand, + 'databaseDuration' => rand, + 'databaseCallCount'=> rand, + 'gcCumulative' => rand, + 'host' => 'lo-calhost', + 'color' => 'blue-green', + 'shape' => 'squarish', + 'texture' => 'sort of lumpy like a bag of frozen peas' } - events << [event] + events << [event, {}] end [rand(1000000), events] end end