mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:13:52 +08:00
mount: wait longer for consistency after rm in tests
This commit is contained in:
parent
a2336ad774
commit
66c69fe620
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user