Skip to content

Commit

Permalink
Minor fix to spec after branch rebase on top of master
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Dec 13, 2023
1 parent 2265fc3 commit bfdd1b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/datadog/profiling/stack_recorder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ def sample_types_from(decoded_profile)

describe 'heap samples' do
let(:sample_rate) { 50 }
let(:metric_values) { { 'cpu-time' => 101, 'cpu-samples' => 1, 'wall-time' => 789, 'alloc-samples' => sample_rate } }
let(:metric_values) do
{ 'cpu-time' => 101, 'cpu-samples' => 1, 'wall-time' => 789, 'alloc-samples' => sample_rate, 'timeline' => 42 }
end
let(:labels) { { 'label_a' => 'value_a', 'label_b' => 'value_b', 'state' => 'unknown' }.to_a }

let(:a_string) { 'a beautiful string' }
Expand Down

0 comments on commit bfdd1b7

Please sign in to comment.