operations: skip part of the --max-transfer test under chunker

This test relies on there being 1 file copied and chunker copies several
This commit is contained in:
Nick Craig-Wood 2020-03-16 14:05:05 +00:00
parent 77e94be280
commit f94257115f

View file

@ -1584,6 +1584,11 @@ func TestCopyFileMaxTransfer(t *testing.T) {
fstest.CheckItems(t, r.Flocal, file1, file2) fstest.CheckItems(t, r.Flocal, file1, file2)
fstest.CheckItems(t, r.Fremote, rfile1) 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 fs.Config.CutoffMode = fs.CutoffModeSoft
accounting.Stats(ctx).ResetCounters() accounting.Stats(ctx).ResetCounters()