Spec failure in ``spec/controllers/projects/issues_controller_spec.rb` | Projects::IssuesController POST #create when the endpoint receives requests above the limit when issue creation limits imposed prevents from creating more issues
Job #1773540016 failed for de72e92e:
Trace
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/namespace32/project34/-/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)>'