Skip to content
Snippets Groups Projects
Commit 0e3378f2 authored by Radamanthus Batnag's avatar Radamanthus Batnag :speech_balloon:
Browse files

Remove flaky spec

There's no more need to check that we're not running extra queries here
because we're now always returning an empty array for the pipelines
attribute.
parent a92b12b8
No related branches found
No related tags found
2 merge requests!162233Draft: Script to update Topology Service Gem,!153585Resolve flaky spec for spec/requests/api/project_packages_spec.rb
......@@ -260,16 +260,6 @@
expect(json_response['pipelines']).to be_empty
end
it 'does not result in additional queries', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/439528' do # rubocop:disable Layout/LineLength -- We prefer to keep it on a single line, for simplicity sake
control = ActiveRecord::QueryRecorder.new do
get api(package_url, user)
end
expect do
get api(package_url, user)
end.not_to exceed_query_limit(control).with_threshold(4)
end
end
context 'project is public' do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment