Skip to content

Fix intermittent failures in profiler_spec.rb

Stan Hu requested to merge sh-fix-profiler-spec-try2 into master

When multiple threads run in spec/lib/gitlab/profiler_spec.rb, the output contains profiles for each thread. The previous test assumed there were only 1 profile, but we need to account for multiple outputs. To fix this test, we parse and test each thread profile independently.

Closes #206907 (closed)

Edited by Stan Hu

Merge request reports