diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-04 15:16:58 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-04 15:16:58 +0300 |
commit | 2f3159e2aa448ce840c9d1e8b7f6c85bd5c84998 (patch) | |
tree | ae16a2b0f35602c4ed60053beb9a01a6193ec2ae /test/acceptance/zip_test.go | |
parent | a8891954aa11de29da14a847b2d59b37e3291476 (diff) |
this can be a private function
Diffstat (limited to 'test/acceptance/zip_test.go')
-rw-r--r-- | test/acceptance/zip_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/acceptance/zip_test.go b/test/acceptance/zip_test.go index fa9c87dd..212435e8 100644 --- a/test/acceptance/zip_test.go +++ b/test/acceptance/zip_test.go @@ -25,7 +25,7 @@ func TestZipServing(t *testing.T) { gitLabAPISecretKey := CreateGitLabAPISecretKeyFixtureFile(t) pagesArgs := []string{"-gitlab-server", source.URL, "-api-secret-key", gitLabAPISecretKey, "-domain-config-source", "gitlab"} - teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, SupportedListeners(), "", []string{}, pagesArgs...) + teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, supportedListeners(), "", []string{}, pagesArgs...) defer teardown() tests := map[string]struct { @@ -125,7 +125,7 @@ func TestZipServingFromDisk(t *testing.T) { gitLabAPISecretKey := CreateGitLabAPISecretKeyFixtureFile(t) pagesArgs := []string{"-gitlab-server", source.URL, "-api-secret-key", gitLabAPISecretKey, "-domain-config-source", "gitlab", "-pages-root", wd} - teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, SupportedListeners(), "", []string{}, pagesArgs...) + teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, supportedListeners(), "", []string{}, pagesArgs...) defer teardown() tests := map[string]struct { @@ -217,7 +217,7 @@ func TestZipServingConfigShortTimeout(t *testing.T) { pagesArgs := []string{"-gitlab-server", source.URL, "-api-secret-key", gitLabAPISecretKey, "-domain-config-source", "gitlab", "-zip-open-timeout=1ns"} // <- test purpose - teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, SupportedListeners(), "", []string{}, pagesArgs...) + teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, supportedListeners(), "", []string{}, pagesArgs...) defer teardown() _, cleanup := newZipFileServerURL(t, "../../shared/pages/group/zip.gitlab.io/public.zip") |