Skip to content

Commit

Permalink
Fix toggling partitions tests by enforcing fsync
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcio committed Mar 2, 2024
1 parent ceb65b2 commit 0ea30ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/tests/streaming/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async fn should_persist_messages_and_then_load_them_by_timestamp() {
path: setup.config.path.to_string(),
partition: PartitionConfig {
messages_required_to_save: messages_count * 3,
enforce_fsync: true,
..Default::default()
},
..Default::default()
Expand Down Expand Up @@ -151,6 +152,7 @@ async fn should_persist_messages_and_then_load_them_from_disk() {
path: setup.config.path.to_string(),
partition: PartitionConfig {
messages_required_to_save: messages_count,
enforce_fsync: true,
..Default::default()
},
..Default::default()
Expand Down

0 comments on commit 0ea30ee

Please sign in to comment.