summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 21:34:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-20 21:34:14 +0000
commit1e2982d72b6d462168169bd078e241e55b7cce24 (patch)
tree092b33d48a171b276c9787eb83d67ffabb37111b
parent4c9916097160a9a90b16fdc19012ef52b3fb7961 (diff)
downloadgitlab-ce-1e2982d72b6d462168169bd078e241e55b7cce24.tar.gz
Add latest changes from gitlab-org/gitlab@15-11-stable-ee
-rw-r--r--spec/support/helpers/usage_data_helpers.rb4
1 files 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,