Flaky test spec/graphql/mutations/ci/runner/update_spec.rb:68
Job #1307343517 failed for 6ade9b0f:
1) Mutations::Ci::Runner::Update#resolve when user can update runner with valid arguments updates runner with correct values
Failure/Error: expect(runner.reload).to have_attributes(expected_attributes)
expected #<Ci::Runner id: 1, token: nil, created_at: "2021-05-31 23:16:02", updated_at: "2021-05-31 23:16:03",...ects_minutes_cost_factor: 0.0, private_projects_minutes_cost_factor: 1.0, config: {}, tag_list: nil> to have attributes {:access_level => "ref_protected", :active => false, :description => "updated description", :locked => true, :maximum_timeout => 900, :run_untagged => false, :tag_list => ["tag1", "tag2"]} but had attributes {:access_level => "ref_protected", :active => false, :description => "updated description", :locked => true, :maximum_timeout => 900, :run_untagged => false, :tag_list => ["tag2", "tag1"]}
Diff:
@@ -4,5 +4,5 @@
:locked => true,
:maximum_timeout => 900,
:run_untagged => false,
-:tag_list => ["tag1", "tag2"],
+:tag_list => ["tag2", "tag1"],
# ./spec/graphql/mutations/ci/runner/update_spec.rb:76:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:379:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:370:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:366:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:366:in `block (2 levels) in <top (required)>'
Finished in 17 minutes 50 seconds (files took 59.33 seconds to load)
3321 examples, 1 failure, 10 pending
Failed examples:
rspec ./spec/graphql/mutations/ci/runner/update_spec.rb:68 # Mutations::Ci::Runner::Update#resolve when user can update runner with valid arguments updates runner with correct values