mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
cmount: make tests more reliable on Windows
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user