Broken test with PG11: ee/spec/services/iterations/roll_over_issues_service_spec.rb:82
Job #1352239725 failed for 5cb95f44:
1) Iterations::RollOverIssuesService when iterations are present when user has permissions to roll-over issues when user is the automation bot rolls-over issues to next iteration
Failure/Error:
expect { subject }.to change { started_iteration.reload.issues }.from([]).to(open_issues)
.and(change { closed_iteration1.reload.issues }.from(open_issues + closed_issues).to(closed_issues) )
.and(change(ResourceIterationEvent, :count).by(10))
expected `closed_iteration1.reload.issues` to have initially been [#<Issue id:269 namespace1026/project1536#1>, #<Issue id:270 namespace1027/project1537#1>, #<Issue id...ct1543#1>, #<Issue id:277 namespace1034/project1544#1>, #<Issue id:278 namespace1035/project1545#1>], but was #<ActiveRecord::Associations::CollectionProxy [#<Issue id:278 namespace1035/project1545#1>, #<Issue i...t1538#1>, #<Issue id:270 namespace1027/project1537#1>, #<Issue id:269 namespace1026/project1536#1>]>
# ./ee/spec/services/iterations/roll_over_issues_service_spec.rb:83:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:372:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:363:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:359:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:359:in `block (2 levels) in <top (required)>'
Finished in 23 minutes 12 seconds (files took 57.8 seconds to load)
2489 examples, 1 failure, 9 pending
Failed examples:
rspec ./ee/spec/services/iterations/roll_over_issues_service_spec.rb:82 # Iterations::RollOverIssuesService when iterations are present when user has permissions to roll-over issues when user is the automation bot rolls-over issues to next iteration
Introduced by !62350 (merged).
Edited by Rémy Coutable