Fix intermittent failures in profiler_spec.rb
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 https://gitlab.com/gitlab-org/gitlab/issues/206907
Showing
Please register or sign in to comment