mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
operations: fix multithread copy test to use the correct modify window
In bde0334bd8
"operations: fix setting the timestamp on Windows
for multithread copy" the test for multithread copy failed to take
into account the modify window of the remote under test.
This commit is contained in:
parent
708b967f15
commit
07e4b9bb7f
@ -138,7 +138,7 @@ func TestMultithreadCopy(t *testing.T) {
|
||||
assert.Equal(t, src.Size(), dst.Size())
|
||||
assert.Equal(t, "file1", dst.Remote())
|
||||
|
||||
fstest.CheckItems(t, r.Flocal, file1)
|
||||
fstest.CheckListingWithPrecision(t, r.Flocal, []fstest.Item{file1}, nil, fs.GetModifyWindow(r.Flocal, r.Fremote))
|
||||
require.NoError(t, dst.Remove(context.Background()))
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user