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:
parent
77e94be280
commit
f94257115f
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue