1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

vfs: increase time to wait for writers in tests to 30s

In some backends (eg putio) this deadline was consistently missed at
10s so this patch increases it to 30s.

See: #5734
This commit is contained in:
Nick Craig-Wood
2021-10-20 17:24:58 +01:00
parent 1eff0eef7a
commit 72c013c6f4
2 changed files with 7 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ var (
// Constants uses in the tests
const (
writeBackDelay = 100 * time.Millisecond // A short writeback delay for testing
waitForWritersDelay = 10 * time.Second // time to wait for existing writers
waitForWritersDelay = 30 * time.Second // time to wait for existing writers
)
// TestMain drives the tests