Skip to content

Commit

Permalink
Fixes a test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Jun 20, 2024
1 parent f0b5ee5 commit 2743051
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions zebrad/tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3202,10 +3202,7 @@ async fn trusted_chain_sync_handles_forks_correctly() -> Result<()> {
tracing::info!("waiting for Zebra state cache to be opened");

#[cfg(not(target_os = "windows"))]
child.expect_stdout_line_matches(format!(
"Opened Zebra state cache at {}",
config.state.cache_dir.to_str().expect("should convert")
))?;
child.expect_stdout_line_matches("marked database format as newly created")?;

#[cfg(target_os = "windows")]
tokio::time::sleep(LAUNCH_DELAY).await;
Expand Down Expand Up @@ -3420,10 +3417,7 @@ async fn trusted_chain_sync_handles_forks_correctly() -> Result<()> {
tracing::info!("waiting for Zebra state cache to be opened");

#[cfg(not(target_os = "windows"))]
child.expect_stdout_line_matches(format!(
"Opened Zebra state cache at {}",
config.state.cache_dir.to_str().unwrap()
))?;
child.expect_stdout_line_matches("marked database format as newly created")?;

#[cfg(target_os = "windows")]
tokio::time::sleep(LAUNCH_DELAY).await;
Expand Down

0 comments on commit 2743051

Please sign in to comment.