Flaky test ./spec/features/security/project/public_access_spec.rb[1:2:1]
Flaky test ./spec/features/security/project/public_access_spec.rb[1:2:1]
consistently fails on first attempt and passes on second attempt. Because of this, it is tracked by rspec-flaky-report and reported in gitlab-org/quality/triage-reports#1699 (closed)
The root cause is that the ProjectsController#show
controller exceeds the query limit of 100 at first call. Subsequent calls don't exceed the limit, so it passes after retry.
project_authorizations has composite primary key. Composite primary key is ignored.
GET /:project_path
is expected to be allowed for admin
1st Try error in ./spec/features/security/project/public_access_spec.rb:21:
Too many SQL queries were executed in ProjectsController#show: a maximum of 100 is allowed but 114 SQL queries were executed
RSpec::Retry: 2nd try ./spec/features/security/project/public_access_spec.rb:21
Finished in 23.19 seconds (files took 7.72 seconds to load)
1 example, 0 failures