Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cmount: make tests more reliable on Windows

Nick Craig-Wood6d3df6f17254
diff --git a/cmd/mountlib/mounttest/read.go b/cmd/mountlib/mounttest/read.go
index 544357927..8012e976b 100644
--- a/cmd/mountlib/mounttest/read.go
+++ b/cmd/mountlib/mounttest/read.go
@@ -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")
}