Skip to content

Commit

Permalink
Add comment to explain why inside_t1 exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Mar 3, 2023
1 parent 1b92ef1 commit 1a3caef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/datadog/profiling/collectors/thread_context_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def stats
described_class::Testing._native_stats(cpu_and_wall_time_collector)
end

# This method exists only so we can look for its name in the stack trace in a few tests
def inside_t1
yield
end
Expand Down

0 comments on commit 1a3caef

Please sign in to comment.