diff options
Diffstat (limited to 'internal/vfs/zip/vfs_test.go')
-rw-r--r-- | internal/vfs/zip/vfs_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/vfs/zip/vfs_test.go b/internal/vfs/zip/vfs_test.go index aa1ed109..0a8a5e0b 100644 --- a/internal/vfs/zip/vfs_test.go +++ b/internal/vfs/zip/vfs_test.go @@ -9,7 +9,6 @@ import ( "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitlab-pages/internal/config" "gitlab.com/gitlab-org/gitlab-pages/internal/httprange" "gitlab.com/gitlab-org/gitlab-pages/internal/vfs" "gitlab.com/gitlab-org/gitlab-pages/metrics" @@ -74,11 +73,7 @@ func TestVFSFindOrOpenArchiveConcurrentAccess(t *testing.T) { path := testServerURL + "/public.zip" - vfs := New(config.ZipServing{ - OpenTimeout: time.Second, - DataOffsetItems: 20, - ReadlinkItems: 20, - }).(*zipVFS) + vfs := New(zipCfg).(*zipVFS) root, err := vfs.Root(context.Background(), path) require.NoError(t, err) |