diff --git a/vfs/vfstest/fs.go b/vfs/vfstest/fs.go index b4ac33537..11be32a34 100644 --- a/vfs/vfstest/fs.go +++ b/vfs/vfstest/fs.go @@ -419,7 +419,6 @@ func (r *Run) readFile(t *testing.T, filepath string) string { filepath = r.path(filepath) result, err := run.os.ReadFile(filepath) require.NoError(t, err) - time.Sleep(100 * time.Millisecond) // FIXME wait for Release return string(result) } diff --git a/vfs/vfstest/read.go b/vfs/vfstest/read.go index cfa905f72..469c5459f 100644 --- a/vfs/vfstest/read.go +++ b/vfs/vfstest/read.go @@ -4,7 +4,6 @@ import ( "io" "io/ioutil" "testing" - "time" "github.com/stretchr/testify/assert" ) @@ -31,7 +30,6 @@ func TestReadByByte(t *testing.T) { assert.NoError(t, err) } - time.Sleep(100 * time.Millisecond) // FIXME wait for Release run.rm(t, "testfile") }