mounttest: fix occasionally failing test TestRenameOpenHandle

s3-about
Nick Craig-Wood 2019-11-06 12:16:30 +00:00
parent 21c6babdbb
commit e0d9314059
1 changed files with 2 additions and 0 deletions

View File

@ -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")