Skip to content

Commit

Permalink
Increase headroom on thread profiling tests
Browse files Browse the repository at this point in the history
The thread profiling tests rely on two samples being run to pass, which
may not be the case if there are several milliseconds of lag due to GC,
CPU scheduling, etc.  Increase the headroom slightly for now.
  • Loading branch information
Sam Goldstein committed Dec 3, 2012
1 parent f4354d3 commit 2ce8205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/new_relic/agent/thread_profiler_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def setup
"irb:12:in `<main>'"
]

@profile = NewRelic::Agent::ThreadProfile.new(-1, 0.025, 0.01, true)
@profile = NewRelic::Agent::ThreadProfile.new(-1, 0.029, 0.01, true)
end

# Running Tests
Expand Down

0 comments on commit 2ce8205

Please sign in to comment.