wip: show the completion in the cancel test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8432d45bbe
commit
d34f5dc3f9
1 changed files with 5 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue