Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

backend/ftp: increase testUploadTimeout.maxTime to 10 seconds

Roberto Ricci05150cfb1d14
diff --git a/backend/ftp/ftp_internal_test.go b/backend/ftp/ftp_internal_test.go
index 173ffe1cd..bd1d8c677 100644
--- a/backend/ftp/ftp_internal_test.go
+++ b/backend/ftp/ftp_internal_test.go
@@ -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() {