mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
sync/test: TestConcurrentTruncate needs empty files - skip on uptobox
This commit is contained in:
parent
a074a2b983
commit
70297c3aed
|
@ -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...)
|
||||
|
|
Loading…
Reference in New Issue
Block a user