Test: name the abort when the queued deployment does not survive the gap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
61fc89bbd7
commit
69464b11ef
1 changed files with 5 additions and 6 deletions
|
|
@ -16176,12 +16176,11 @@ mod tests {
|
|||
for _ in 0..3 {
|
||||
let _ = world.engine.run_scheduler_tick();
|
||||
assert_eq!(continuity_mints(&world)?, 0);
|
||||
assert!(
|
||||
every_transaction(&world)?
|
||||
.iter()
|
||||
.all(|transaction| transaction.pre_fencing_abort.is_none()),
|
||||
"the deployment was yielded"
|
||||
);
|
||||
let aborts = every_transaction(&world)?
|
||||
.into_iter()
|
||||
.filter_map(|transaction| transaction.pre_fencing_abort)
|
||||
.collect::<Vec<_>>();
|
||||
assert!(aborts.is_empty(), "the deployment was aborted: {aborts:?}");
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue