mirror of
https://github.com/rclone/rclone.git
synced 2025-12-10 13:23:21 +00:00
mount: wait longer for consistency after rm in tests
This commit is contained in:
@@ -342,7 +342,7 @@ func (r *Run) rm(t *testing.T, filepath string) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// Wait for file to disappear from listing
|
// Wait for file to disappear from listing
|
||||||
for i := 0; i < 10; i++ {
|
for i := 0; i < 100; i++ {
|
||||||
_, err := os.Stat(filepath)
|
_, err := os.Stat(filepath)
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user