vfs: remove workaround Sleep() calls from tests

This commit is contained in:
Nick Craig-Wood 2020-06-21 13:03:16 +01:00
parent 20f4fda3c9
commit 3eded3c4ac
2 changed files with 0 additions and 3 deletions

View File

@ -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)
}

View File

@ -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")
}