1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00

fstest: change -list-retries default to 3 from 6

The integration tests have got much better about retrying the tests,
and we aren't testing ACD any more so we don't need it this high.
This commit is contained in:
Nick Craig-Wood 2020-05-07 20:28:41 +01:00
parent 437f9e2cef
commit e098924e61

View File

@ -45,7 +45,7 @@ var (
// SizeLimit signals tests to skip maximum test file size and skip inappropriate runs
SizeLimit = flag.Int64("size-limit", 0, "Limit maximum test file size")
// ListRetries is the number of times to retry a listing to overcome eventual consistency
ListRetries = flag.Int("list-retries", 6, "Number or times to retry listing")
ListRetries = flag.Int("list-retries", 3, "Number or times to retry listing")
// MatchTestRemote matches the remote names used for testing
MatchTestRemote = regexp.MustCompile(`^rclone-test-[abcdefghijklmnopqrstuvwxyz0123456789]{24}$`)
)