1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 07:43:35 +00:00

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