1
mirror of https://github.com/rclone/rclone synced 2024-11-05 01:42:31 +01:00

Revert "union: disable PartialUploads on integration tests failures"

This reverts commit 9065e921c1.

It turns out the problem for the failing fs/sync tests was the
policies being different for search and create which meant that the
file was being created in one union branch but a diferent one was
found in another branch.
This commit is contained in:
Nick Craig-Wood 2023-06-29 20:52:35 +01:00
parent ff966b37af
commit 3d4f127b33

View File

@ -902,7 +902,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
ReadMetadata: true,
WriteMetadata: true,
UserMetadata: true,
// PartialUploads: true // this causes the fs/sync tests to fail
PartialUploads: true,
}).Fill(ctx, f)
canMove, slowHash := true, false
for _, f := range upstreams {