mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
test(filemeta): flush xl meta test fixture before reopen (#2557)
This commit is contained in:
@@ -1986,6 +1986,7 @@ async fn test_read_xl_meta_no_data() {
|
||||
let mut file = File::create(&filepath).await.unwrap();
|
||||
// Write string data
|
||||
file.write_all(&buff).await.unwrap();
|
||||
file.flush().await.unwrap();
|
||||
|
||||
let mut f = File::open(&filepath).await.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user