mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 10:54:48 +08:00
backend/ftp: increase testUploadTimeout.maxTime to 10 seconds
On slow machines (e.g. Github CI), especially if GOARCH=386, the test for cmd/serve/ftp could fail if this value is too small. Fixes #5783
This commit is contained in:
parent
25366268fe
commit
05150cfb1d
|
@ -36,7 +36,7 @@ func (f *Fs) testUploadTimeout(t *testing.T) {
|
|||
const (
|
||||
fileSize = 100000000 // 100 MiB
|
||||
idleTimeout = 40 * time.Millisecond // small because test server is local
|
||||
maxTime = 5 * time.Second // prevent test hangup
|
||||
maxTime = 10 * time.Second // prevent test hangup
|
||||
)
|
||||
|
||||
if testing.Short() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user