From 274305163026d3f3145a4ef50eddc4819a8d22d6 Mon Sep 17 00:00:00 2001 From: Arya Date: Thu, 20 Jun 2024 12:32:47 -0400 Subject: [PATCH] Fixes a test bug --- zebrad/tests/acceptance.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/zebrad/tests/acceptance.rs b/zebrad/tests/acceptance.rs index f5119f32c1..0d1af3fb78 100644 --- a/zebrad/tests/acceptance.rs +++ b/zebrad/tests/acceptance.rs @@ -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; @@ -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;