mirror of
https://github.com/rclone/rclone.git
synced 2025-12-15 15:53:41 +00:00
vfs: convert time.Duration option to fs.Duration
This commit is contained in:
@@ -28,8 +28,8 @@ var (
|
||||
|
||||
// Constants uses in the tests
|
||||
const (
|
||||
writeBackDelay = 100 * time.Millisecond // A short writeback delay for testing
|
||||
waitForWritersDelay = 30 * time.Second // time to wait for existing writers
|
||||
writeBackDelay = fs.Duration(100 * time.Millisecond) // A short writeback delay for testing
|
||||
waitForWritersDelay = 30 * time.Second // time to wait for existing writers
|
||||
)
|
||||
|
||||
// TestMain drives the tests
|
||||
|
||||
Reference in New Issue
Block a user