From d34f5dc3f9a4fa74c2ec570c4892229ce776491f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 19:38:28 +0200 Subject: [PATCH] wip: show the completion in the cancel test Co-Authored-By: Claude Opus 5.5 --- src/control_plane.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/control_plane.rs b/src/control_plane.rs index bba9e4a..26934fd 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -13998,10 +13998,12 @@ mod tests { drive(&world, |transaction| transaction.completion.is_some())?; let finished = latest(&world)?; - assert!(matches!( + assert!( + matches!(finished.completion, Some(TransactionCompletion::FailedBeforeFencing { .. })), + "{:?} / {:?}", finished.completion, - Some(TransactionCompletion::FailedBeforeFencing { .. }) - )); + finished.pre_fencing_abort + ); assert!(finished.is_terminal()); // The target is released and nothing of the incumbent was touched. assert!(!finished.blocks_new_target_mutation());