Flaky spec ./spec/controllers/projects/issues_controller_spec.rb:1417
Job #1770894096 failed for cb63d7ae:
Failures:
1) Projects::IssuesController POST #create when the endpoint receives requests above the limit when issue creation limits imposed prevents from creating more issues
Failure/Error: expect(response.body).to eq(_('This endpoint has been requested too many times. Try again later.'))
expected: "This endpoint has been requested too many times. Try again later."
got: "<html><body>You are being <a href=\"http://test.host/namespace127/project260/-/issues/7\">redirected</a>.</body></html>"
(compared using ==)
# ./spec/controllers/projects/issues_controller_spec.rb:1425:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:414:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:379:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/with_request_store.rb:17:in `enabling_request_store'
# ./lib/gitlab/with_request_store.rb:10:in `with_request_store'
# ./spec/spec_helper.rb:379:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:205:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:56:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:102:in `block (2 levels) in <top (required)>'
Finished in 29 minutes 14 seconds (files took 47.88 seconds to load)
3115 examples, 1 failure, 6 pending
Failed examples:
rspec ./spec/controllers/projects/issues_controller_spec.rb:1417 # Projects::IssuesController POST #create when the endpoint receives requests above the limit when issue creation limits imposed prevents from creating more issues
SimpleCov failed with exit 1