From 223e4ea233c7c9f5d3a5b6bfb20322e12660d95a Mon Sep 17 00:00:00 2001 From: overtrue Date: Sun, 6 Sep 2026 17:41:23 +0800 Subject: [PATCH] test(ecstore): distinguish seed initialization from repair --- crates/e2e_test/src/distributed_startup_regression_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/e2e_test/src/distributed_startup_regression_test.rs b/crates/e2e_test/src/distributed_startup_regression_test.rs index 4f4c3fe8f..c76aadc28 100644 --- a/crates/e2e_test/src/distributed_startup_regression_test.rs +++ b/crates/e2e_test/src/distributed_startup_regression_test.rs @@ -1160,7 +1160,7 @@ mod tests { let attempt = &classified["attempt"]; uuid::Uuid::parse_str(attempt.as_str().expect("real init attempt UUID")).expect("valid init attempt UUID"); assert_eq!(classified["elected_writer"], true); - assert_eq!(classified["needs_repair"], true); + assert_eq!(classified["needs_repair"], previous.is_some()); assert_eq!(classified["repair_write_safe"], true); assert_eq!(classified["topology_update"], topology_update); assert!(