mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
sync/test: TestConcurrentTruncate needs empty files - skip on uptobox
This commit is contained in:
@@ -2091,6 +2091,9 @@ func testSyncConcurrent(t *testing.T, subtest string) {
|
||||
fstest.CheckItems(t, r.Fremote, itemsBefore...)
|
||||
stats.ResetErrors()
|
||||
err := Sync(ctx, r.Fremote, r.Flocal, false)
|
||||
if err == fs.ErrorCantUploadEmptyFiles {
|
||||
t.Skipf("Skip test because remote cannot upload empty files")
|
||||
}
|
||||
assert.NoError(t, err, "Sync must not return a error")
|
||||
assert.False(t, stats.Errored(), "Low level errors must not have happened")
|
||||
fstest.CheckItems(t, r.Fremote, itemsAfter...)
|
||||
|
||||
Reference in New Issue
Block a user