Skip to content

Commit

Permalink
WIP debug crashtracker flaky spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Jun 28, 2024
1 parent 681f983 commit cc2657f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/datadog/profiling/crashtracker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
after { crashtracker.stop }

it 'starts a second crash tracker for the fork' do
wait_for do
result = `pgrep -f libdatadog-crashtracking-receiver`
puts "pgrep: #{result} ----"
result.lines.size
end.to be(1), "Failure details: ps aux: #{`ps aux`}"

expect_in_fork do
crashtracker.reset_after_fork

Expand Down

0 comments on commit cc2657f

Please sign in to comment.