Skip to content

Commit

Permalink
chore(e2e): deflake checkpoint iterations test
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Nov 14, 2024
1 parent ed9fcd3 commit 1da72c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/cli/tests/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,16 +204,16 @@ async fn wait_for_database_locks(config: &TomlConfigProvider<FullNodeComponents>
if let Some(path) = app_db_path {
wait_for_file_to_close(
&path.join("LOCK"),
Duration::from_secs(10),
Duration::from_secs(5),
Duration::from_millis(100),
)
.await?;
}

// Wait for the narwhal db lock file to be released.
wait_for_file_to_close(
&consensus_db_path.join("0/LOCK"),
Duration::from_secs(10),
&consensus_db_path.join("0-0/LOCK"),
Duration::from_secs(5),
Duration::from_millis(100),
)
.await?;
Expand Down

0 comments on commit 1da72c4

Please sign in to comment.