From 3d4f127b3373bede7f57d1c038b057ec4f7ce5ef Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 29 Jun 2023 20:52:35 +0100 Subject: [PATCH] Revert "union: disable PartialUploads on integration tests failures" This reverts commit 9065e921c139c417ad8ebc19b367dc774ed5d8a6. 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. --- backend/union/union.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/union/union.go b/backend/union/union.go index 262fa6d0e..c87b6e2d7 100644 --- a/backend/union/union.go +++ b/backend/union/union.go @@ -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 {