From 66c69fe620441f9e44f299b28b98a67468299f5b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 9 Mar 2018 21:16:16 +0000 Subject: [PATCH] mount: wait longer for consistency after rm in tests --- cmd/mountlib/mounttest/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mountlib/mounttest/fs.go b/cmd/mountlib/mounttest/fs.go index 5b2bbfd31..ef7047b5e 100644 --- a/cmd/mountlib/mounttest/fs.go +++ b/cmd/mountlib/mounttest/fs.go @@ -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