diff --git a/test/performance/script/runner b/test/performance/script/runner index 0c420bf8bb..a5a240d104 100755 --- a/test/performance/script/runner +++ b/test/performance/script/runner @@ -9,4 +9,4 @@ require_relative '../rails_app/config/boot' require 'rails/command' require_relative '../lib/performance' -Rails::Command.invoke(:runner, %w[Performance::Runner.new.run_and_report]) +Rails::Command.invoke(:runner, %w[Performance::Runner.new.run_and_report] + ARGV) diff --git a/test/performance/suites/agent_module.rb b/test/performance/suites/agent_module.rb index 9f1be5f97f..5c9e1bc7ea 100644 --- a/test/performance/suites/agent_module.rb +++ b/test/performance/suites/agent_module.rb @@ -9,7 +9,7 @@ class AgentModuleTest < Performance::TestCase ITERATIONS = 50_000 def test_increment_metric_by_1 - measure do + measure(ITERATIONS) do NewRelic::Agent.increment_metric(METRIC) end end