Skip to content

Commit

Permalink
Even more fsync for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcio committed Feb 14, 2025
1 parent c60a55d commit 807db44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/tests/streaming/common/test_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ impl TestSetup {

pub async fn init_with_config(mut config: SystemConfig) -> TestSetup {
config.path = format!("local_data_{}", Uuid::now_v7().to_u128_le());
config.partition.enforce_fsync = true;
config.state.enforce_fsync = true;

let config = Arc::new(config);
fs::create_dir(config.get_system_path()).await.unwrap();
Expand Down

0 comments on commit 807db44

Please sign in to comment.