Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request newrelic#496 from ruby-agent/reset-to-defaults-in-…
Browse files Browse the repository at this point in the history
…control-test

Speculative fix for failures in ControlTest#test_sql_tracer_disabled_when_tt_disabled_by_server
  • Loading branch information
Chris Pine committed May 9, 2014
2 parents 8821d34 + f502af7 commit 7e68669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/new_relic/control_test.rb
Expand Up @@ -10,6 +10,7 @@ class NewRelic::ControlTest < Minitest::Test
def setup
@control = NewRelic::Control.instance
raise 'oh geez, wrong class' unless NewRelic::Control.instance.is_a?(::NewRelic::Control::Frameworks::Test)
NewRelic::Agent.config.reset_to_defaults
end

def shutdown
Expand Down

0 comments on commit 7e68669

Please sign in to comment.