From 1e2982d72b6d462168169bd078e241e55b7cce24 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 20 Apr 2023 21:34:14 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-11-stable-ee --- spec/support/helpers/usage_data_helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/helpers/usage_data_helpers.rb b/spec/support/helpers/usage_data_helpers.rb index 9abfc39e31f..beee663fbc6 100644 --- a/spec/support/helpers/usage_data_helpers.rb +++ b/spec/support/helpers/usage_data_helpers.rb @@ -120,14 +120,14 @@ module UsageDataHelpers end def stub_prometheus_queries - stub_request(:get, %r{^https?://::1:9090/-/ready}) + stub_request(:get, %r{^https?://.*:9090/-/ready}) .to_return( status: 200, body: [{}].to_json, headers: { 'Content-Type' => 'application/json' } ) - stub_request(:get, %r{^https?://::1:9090/api/v1/query\?query=.*}) + stub_request(:get, %r{^https?://.*:9090/api/v1/query\?query=.*}) .to_return( status: 200, body: [{}].to_json, -- cgit v1.2.1