mirror of
https://github.com/rclone/rclone
synced 2024-12-25 17:03:45 +01:00
test: ignore integration test TestCopyFileMaxTransfer on Google Drive
The test fails because it expects a copy with MaxTransfer and CutoffModeHard should
return fatal error, because this is thrown from accounting (ErrorMaxTransferLimitReachedFatal),
but in case of Google Drive the external google API catches and replaces it with a
non-fatal error:
pw.CloseWithError(fmt.Errorf("googleapi: Copy failed: %v", err))
(7290f25351/internal/gensupport/media.go (L140)
)
This commit is contained in:
parent
29c6c86c00
commit
3a03f2778c
@ -24,6 +24,8 @@ backends:
|
||||
- backend: "crypt"
|
||||
remote: "TestCryptDrive:"
|
||||
fastlist: true
|
||||
ignore:
|
||||
- TestCopyFileMaxTransfer
|
||||
- backend: "crypt"
|
||||
remote: "TestCryptSwift:"
|
||||
fastlist: false
|
||||
@ -106,6 +108,10 @@ backends:
|
||||
- backend: "drive"
|
||||
remote: "TestDrive:"
|
||||
fastlist: true
|
||||
ignore:
|
||||
# Test with CutoffModeHard does not result in ErrorMaxTransferLimitReachedFatal
|
||||
# because googleapi replaces it with a non-fatal error
|
||||
- TestCopyFileMaxTransfer
|
||||
- backend: "dropbox"
|
||||
remote: "TestDropbox:"
|
||||
fastlist: false
|
||||
|
Loading…
Reference in New Issue
Block a user