Commit 4c6e9e98 authored by Stan Hu's avatar Stan Hu

Merge branch '324682-fix-load-balancer-spec' into 'master'

Adjust the regex for load balancer spec

See merge request gitlab-org/gitlab!56696
parents c23e0426 2ed93144
......@@ -244,7 +244,7 @@ RSpec.describe Gitlab::Database::LoadBalancing::LoadBalancer, :request_store do
describe '#primary_write_location' do
it 'returns a String in the right format' do
expect(lb.primary_write_location).to match(/[A-E0-9]{1,8}\/[A-E0-9]{1,8}/)
expect(lb.primary_write_location).to match(/[A-F0-9]{1,8}\/[A-F0-9]{1,8}/)
end
it 'raises an error if the write location could not be retrieved' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment