diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 03:05:04 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 03:05:04 +0300 |
commit | 626417a23a29ee4852a1cc1d267c54f5cb6f399e (patch) | |
tree | b5fffc9f508debdef0236b40e506cfde0303410e /test/acceptance/metrics_test.go | |
parent | 7250a994989f44c8bc3b83f60cba564cd3c3a74e (diff) |
Fix acceptance tests not running on IPv4-only systems
Diffstat (limited to 'test/acceptance/metrics_test.go')
-rw-r--r-- | test/acceptance/metrics_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |