forked from TrueCloudLab/rclone
cmount: make tests more reliable on Windows
This commit is contained in:
parent
c16ac697a9
commit
6d3df6f172
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue