From f94257115f59eba77396025493a435395a790850 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 16 Mar 2020 14:05:05 +0000 Subject: [PATCH] operations: skip part of the --max-transfer test under chunker This test relies on there being 1 file copied and chunker copies several --- fs/operations/operations_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.go index 3874db845..e084f90f1 100644 --- a/fs/operations/operations_test.go +++ b/fs/operations/operations_test.go @@ -1584,6 +1584,11 @@ func TestCopyFileMaxTransfer(t *testing.T) { fstest.CheckItems(t, r.Flocal, file1, file2) fstest.CheckItems(t, r.Fremote, rfile1) + if strings.HasPrefix(r.Fremote.Name(), "TestChunker") { + t.Log("skipping remainder of test for chunker as it involves multiple transfers") + return + } + fs.Config.CutoffMode = fs.CutoffModeSoft accounting.Stats(ctx).ResetCounters()