cmount: make tests more reliable on Windows

This commit is contained in:
Nick Craig-Wood 2017-11-28 20:38:57 +00:00
parent c16ac697a9
commit 6d3df6f172

View File

@ -5,6 +5,7 @@ import (
"io/ioutil"
"os"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
@ -31,6 +32,7 @@ func TestReadByByte(t *testing.T) {
assert.NoError(t, err)
}
time.Sleep(100 * time.Millisecond) // FIXME wait for Release
run.rm(t, "testfile")
}