mirror of
https://github.com/rclone/rclone.git
synced 2026-01-01 08:03:26 +00:00
mounttest: wait for Release after every Read to stop using in use files under Windows
This commit is contained in:
@@ -325,6 +325,7 @@ func (r *Run) readFile(t *testing.T, filepath string) string {
|
||||
filepath = r.path(filepath)
|
||||
result, err := ioutil.ReadFile(filepath)
|
||||
require.NoError(t, err)
|
||||
time.Sleep(100 * time.Millisecond) // FIXME wait for Release
|
||||
return string(result)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user