From 34195fd3e87c51bbd1ed6ced9e5cf19f57ce7030 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 13 Aug 2023 11:39:02 +0100 Subject: [PATCH] sync: fix erroneous test in TestSyncOverlapWithFilter In this commit: 432d5d1e20abe644 operations: fix overlapping check on case insensitive file systems We introduced a test that makes no sense. This happens to pass without --fast-list and fail with it. This removes the test. --- fs/sync/sync_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/sync/sync_test.go b/fs/sync/sync_test.go index 99b425ebe..f24a783ed 100644 --- a/fs/sync/sync_test.go +++ b/fs/sync/sync_test.go @@ -1471,7 +1471,8 @@ func TestSyncOverlapWithFilter(t *testing.T) { checkNoErr(Sync(filterCtx, FremoteSync3, r.Fremote, false)) checkErr(Sync(ctx, FremoteSync3, r.Fremote, false)) - checkNoErr(Sync(filterCtx, r.Fremote, FremoteSync3, false)) + // Destination is excluded so this test makes no sense + // checkNoErr(Sync(filterCtx, r.Fremote, FremoteSync3, false)) checkErr(Sync(ctx, r.Fremote, FremoteSync3, false)) checkErr(Sync(filterCtx, FremoteSync3, FremoteSync3, false)) checkErr(Sync(ctx, FremoteSync3, FremoteSync3, false))