mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
cmount: make tests more reliable on Windows
This commit is contained in:
parent
c16ac697a9
commit
6d3df6f172
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user