mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:05:05 +08:00
sync: fix integration tests on chunker
The tests added in this commit needed a tweak for chunker
8c69455c37
sync: don't set dir modtimes if already set
This commit is contained in:
parent
fcb182efce
commit
f491efc85d
|
@ -2582,7 +2582,7 @@ func TestNothingToTransfer(t *testing.T) {
|
|||
assert.True(t, strings.Contains(string(output), "Set directory modification time"), `expected to find at least one "Set directory modification time" log: `+string(output))
|
||||
}
|
||||
assert.False(t, strings.Contains(string(output), "There was nothing to transfer"), `expected to find no "There was nothing to transfer" logs, but found one: `+string(output))
|
||||
assert.Equal(t, int64(2), accounting.GlobalStats().GetTransfers())
|
||||
assert.True(t, accounting.GlobalStats().GetTransfers() >= 2)
|
||||
|
||||
// run it again and make sure no actions were taken
|
||||
accounting.GlobalStats().ResetCounters()
|
||||
|
|
Loading…
Reference in New Issue
Block a user