From 3f9996a9967ad7c57ac9bb6d7e8bd2e46d600f28 Mon Sep 17 00:00:00 2001 From: overtrue Date: Tue, 8 Sep 2026 20:49:19 +0800 Subject: [PATCH] test(heal): read coordinator logs from the isolated path --- crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs b/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs index 65b2bcf02..b8f906632 100644 --- a/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs +++ b/crates/e2e_test/src/heal_erasure_disk_rebuild_test.rs @@ -1338,7 +1338,7 @@ mod tests { let pre_interrupt_status: serde_json::Value = serde_json::from_str(&pre_interrupt_status_body) .map_err(|err| format!("pre-interrupt background heal status is not JSON ({err}): {pre_interrupt_status_body}"))?; let pre_interrupt_replacement = replacement_recovery_status(&cluster).await?; - let coordinator_log = std::fs::read_to_string(format!("{log_dir}/node0.log"))?; + let coordinator_log = std::fs::read_to_string(log_dir.join("node0.log"))?; assert!( coordinator_log .lines()