Skip to content

Commit cf63cb1

Browse files
committed
ci: trie f.sync_all
1 parent 7aa4318 commit cf63cb1

File tree

1 file changed

+2
-0
lines changed
  • imageflow_core/tests/common

1 file changed

+2
-0
lines changed

imageflow_core/tests/common/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ impl ChecksumCtx{
294294
let mut f = File::create(&dest_path).unwrap();
295295
f.write_all(bytes.as_ref()).unwrap();
296296
f.flush().unwrap();
297+
f.sync_all().unwrap();
298+
297299

298300
println!("{} bytes written successfully.", bytes.len());
299301
}

0 commit comments

Comments
 (0)