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

mounttest: fix occasionally failing test TestRenameOpenHandle

Nick Craig-Woode0d931405942
diff --git a/cmd/mountlib/mounttest/edge_cases.go b/cmd/mountlib/mounttest/edge_cases.go
index 96bbffa34..a206d9e5f 100644
--- a/cmd/mountlib/mounttest/edge_cases.go
+++ b/cmd/mountlib/mounttest/edge_cases.go
@@ -50,6 +50,8 @@ func TestRenameOpenHandle(t *testing.T) {
err = file.Close()
require.NoError(t, err)
+ run.waitForWriters()
+
// verify file was renamed properly
run.checkDir(t, "renamebla 9")