mount: wait longer for consistency after rm in tests

This commit is contained in:
Nick Craig-Wood 2018-03-09 21:16:16 +00:00
parent a2336ad774
commit 66c69fe620

View file

@ -342,7 +342,7 @@ func (r *Run) rm(t *testing.T, filepath string) {
require.NoError(t, err)
// Wait for file to disappear from listing
for i := 0; i < 10; i++ {
for i := 0; i < 100; i++ {
_, err := os.Stat(filepath)
if os.IsNotExist(err) {
return