add option for O_SYNC writes for standalone FS backend (#9581)

This commit is contained in:
Krishna Srinivas
2020-05-12 19:24:59 -07:00
committed by GitHub
parent c045ae15e7
commit 94f1a1dea3
9 changed files with 29 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ func TestAppendFile(t *testing.T) {
f.WriteString("bbbbbbbbbb")
f.Close()
if err = AppendFile(name1, name2); err != nil {
if err = AppendFile(name1, name2, false); err != nil {
t.Error(err)
}