Skip to content

Commit

Permalink
Merge pull request #4072 from DataDog/ivoanjo/fix-flaky-profiler-spec
Browse files Browse the repository at this point in the history
[NO-TICKET] Fix flaky profiler spec by adjusting wait condition
  • Loading branch information
ivoanjo authored Nov 6, 2024
2 parents 3e73b3b + 5d0390d commit 8f4472b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@

all_samples = try_wait_until do
samples = samples_from_pprof_without_gc_and_overhead(recorder.serialize!)
samples if samples.any?
samples if samples_for_thread(samples, process_waiter_thread).any?
end

cpu_and_wall_time_worker.stop
Expand Down

0 comments on commit 8f4472b

Please sign in to comment.