Gitlab::Database::LoadBalancing::LoadBalancer#primary_write_location returns a String in the right format
Job #1099562079 failed for 42ea80cc:
bundle exec rspec ee/spec/lib/gitlab/database/load_balancing/load_balancer_spec.rb
1) Gitlab::Database::LoadBalancing::LoadBalancer#primary_write_location returns a String in the right format
Failure/Error: expect(lb.primary_write_location).to match(/[A-E0-9]{1,8}\/[A-E0-9]{1,8}/)
expected "0/F9804C8" to match /[A-E0-9]{1,8}\/[A-E0-9]{1,8}/
Diff:
@@ -1 +1 @@
-/[A-E0-9]{1,8}\/[A-E0-9]{1,8}/
+"0/F9804C8"
# ./ee/spec/lib/gitlab/database/load_balancing/load_balancer_spec.rb:247:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:333:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:324:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:320:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:307: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:307:in `block (2 levels) in <top (required)>'
Finished in 23 minutes 27 seconds (files took 56.58 seconds to load)
2922 examples, 1 failure, 21 pending
Edited by Kyle Wiebers