diff options
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 |