mirror of
https://github.com/rclone/rclone.git
synced 2025-12-15 07:43:35 +00:00
mounttest: wait for all background Close/Release after writing a file
The filesystem does a certain amount of things asynchronously waiting for the file to be released after writing it means everything should be in a consistent state.
This commit is contained in:
@@ -45,5 +45,6 @@ func TestWriteFileDoubleClose(t *testing.T) {
|
||||
err = syscall.Close(fd2)
|
||||
assert.NoError(t, err)
|
||||
|
||||
run.waitForWriters()
|
||||
run.rm(t, "testdoubleclose")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user