Fix flaky spec due to order
What does this MR do and why?
Related to #450960 (closed)
Change spec to not take order into account
Failures:
1) Search::RakeTaskExecutorService#index_users queues jobs for all users
Failure/Error: unscoped { yield relation, index }
#<Elastic::ProcessInitialBookkeepingService (class)> received :track! with unexpected arguments
expected: (#<User id:1031 @user746>, #<User id:1032 @user747>)
got: (#<User id:1032 @user747>, #<User id:1031 @user746>)
Diff:
@@ -1 +1 @@
-[#<User id:1031 @user746>, #<User id:1032 @user747>]
+[#<User id:1032 @user747>, #<User id:1031 @user746>]
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
spec only change
How to set up and validate locally
N/A
Edited by Terri Chu