mirror of
https://github.com/rclone/rclone.git
synced 2025-12-27 13:43:19 +00:00
cache: handle errors when bolt tries to start
This commit is contained in:
3
cache/cache_internal_test.go
vendored
3
cache/cache_internal_test.go
vendored
@@ -44,7 +44,8 @@ func TestInternalInit(t *testing.T) {
|
||||
|
||||
// delete the default path
|
||||
dbPath := filepath.Join(fs.CacheDir, "cache-backend", *RemoteName+".db")
|
||||
boltDb = cache.GetPersistent(dbPath, true)
|
||||
boltDb, err = cache.GetPersistent(dbPath, true)
|
||||
require.NoError(t, err)
|
||||
fstest.Initialise()
|
||||
|
||||
if len(*WrapRemote) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user