mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 18:04:55 +01:00
ftp: increase timeouts on tests as they were failing locally
This commit is contained in:
parent
88086643f7
commit
67625b1dbd
@ -35,7 +35,7 @@ func deriveFs(ctx context.Context, t *testing.T, f fs.Fs, opts settings) fs.Fs {
|
|||||||
func (f *Fs) testUploadTimeout(t *testing.T) {
|
func (f *Fs) testUploadTimeout(t *testing.T) {
|
||||||
const (
|
const (
|
||||||
fileSize = 100000000 // 100 MiB
|
fileSize = 100000000 // 100 MiB
|
||||||
idleTimeout = 40 * time.Millisecond // small because test server is local
|
idleTimeout = 1 * time.Second // small because test server is local
|
||||||
maxTime = 10 * time.Second // prevent test hangup
|
maxTime = 10 * time.Second // prevent test hangup
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user