From 626417a23a29ee4852a1cc1d267c54f5cb6f399e Mon Sep 17 00:00:00 2001 From: feistel <6742251-feistel@users.noreply.gitlab.com> Date: Thu, 22 Apr 2021 02:05:04 +0200 Subject: Fix acceptance tests not running on IPv4-only systems --- test/acceptance/metrics_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/acceptance/metrics_test.go') diff --git a/test/acceptance/metrics_test.go b/test/acceptance/metrics_test.go index 634610a4..f2e30d06 100644 --- a/test/acceptance/metrics_test.go +++ b/test/acceptance/metrics_test.go @@ -14,7 +14,7 @@ func TestPrometheusMetricsCanBeScraped(t *testing.T) { _, cleanup := newZipFileServerURL(t, "../../shared/pages/group/zip.gitlab.io/public.zip") defer cleanup() - teardown := RunPagesProcessWithStubGitLabServer(t, true, *pagesBinary, listeners, ":42345", []string{}, "-max-conns=10") + teardown := RunPagesProcessWithStubGitLabServer(t, true, *pagesBinary, SupportedListeners(), ":42345", []string{}, "-max-conns=10") defer teardown() // need to call an actual resource to populate certain metrics e.g. gitlab_pages_domains_source_api_requests_total -- cgit v1.2.3