diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-11-16 06:11:54 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-11-30 02:15:10 +0300 |
commit | a7db22b91f700f5f8ed17fd141a21b763c2af87e (patch) | |
tree | 21c91fbad804a782ec8cde617683b6d992c28f52 /internal/vfs | |
parent | e59ec12bcc06b10860c811bc3810a6320b9855d2 (diff) |
Use default config for tests
Diffstat (limited to 'internal/vfs')
-rw-r--r-- | internal/vfs/zip/archive_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/vfs/zip/archive_test.go b/internal/vfs/zip/archive_test.go index 2bafece4..08aa22ff 100644 --- a/internal/vfs/zip/archive_test.go +++ b/internal/vfs/zip/archive_test.go @@ -19,12 +19,7 @@ import ( var chdirSet = false -var zipCfg = &config.ZipServing{ - ExpirationInterval: time.Minute, - CleanupInterval: time.Minute / 2, - RefreshInterval: time.Minute / 2, - OpenTimeout: time.Minute / 2, -} +var zipCfg = config.DefaultConfig.GetZip() func TestOpen(t *testing.T) { zip, cleanup := openZipArchive(t, nil) |