Browse Source
test: use `T.TempDir` to create temporary test directory
test: use `T.TempDir` to create temporary test directory
The directory created by `T.TempDir` is automatically removed when the test and all its subtests complete. Reference: https://pkg.go.dev/testing#T.TempDir Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>pull/2666/head
Eng Zer Jun
3 years ago
No known key found for this signature in database
GPG Key ID: DAEBBD2E34C111E6
7 changed files with 13 additions and 38 deletions
-
9weed/filer/leveldb/leveldb_store_test.go
-
7weed/filer/leveldb2/leveldb2_store_test.go
-
7weed/filer/leveldb3/leveldb3_store_test.go
-
9weed/filer/rocksdb/rocksdb_store_test.go
-
7weed/storage/volume_vacuum_test.go
-
7weed/storage/volume_write_test.go
-
5weed/util/chunk_cache/chunk_cache_on_disk_test.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue