Flaky test ee/spec/features/projects/work_items/okr_spec.rb:294 # OKR for keyresult behaves like work items assignees successfully assigns the current user by searching
Summary
Steps to reproduce
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.
Job #4337699302 failed for 1a10de16:
Failures:
1) OKR for keyresult behaves like work items assignees successfully assigns the current user by searching
Failure/Error: expect(work_item.assignees).to include(user)
expected #<ActiveRecord::Associations::CollectionProxy [#<User id:250 @user2>]> to include #<User id:249 @user1>
Diff:
@@ -1 +1 @@
-[#<User id:249 @user1>]
+[#<User id:250 @user2>]
Shared Example Group: "work items assignees" called from ./ee/spec/features/projects/work_items/okr_spec.rb:294
# ./spec/support/shared_examples/features/work_items_shared_examples.rb:151:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:424:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:415:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:411:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:61:in `with_raw_context'
# ./spec/spec_helper.rb:411:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:242:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/fast_quarantine.rb:23:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 1 minute 40.66 seconds (files took 42.81 seconds to load)
16 examples, 1 failure
Failed examples:
rspec ./ee/spec/features/projects/work_items/okr_spec.rb:294 # OKR for keyresult behaves like work items assignees successfully assigns the current user by searching