Skip to content

Commit

Permalink
Flush in multiple_append test (#4868)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Sep 27, 2023
1 parent 4ef7917 commit ffcc277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions object_store/src/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1545,11 +1545,13 @@ mod not_wasm_tests {
for d in &data {
writer.write_all(d).await.unwrap();
}
writer.flush().await?;

let mut writer = integration.append(&location).await.unwrap();
for d in &data {
writer.write_all(d).await.unwrap();
}
writer.flush().await?;

let read_data = integration
.get(&location)
Expand Down

0 comments on commit ffcc277

Please sign in to comment.