Verse run refusal test: the foreign run's number no longer collides with a later claim's ledger
The port opened for "another run" used number 7, which the extra claims now reach. Builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a501009210
commit
ef7299b673
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@ async fn a_run_started_on_the_wrong_port_world_or_config_is_refused_and_its_clai
|
|||
// A port opened for another run's number.
|
||||
let claim = verse.runs.claim(&world, 1_000, &config(1)).unwrap();
|
||||
expected.push((claim.sequence(), failed("port_not_this_run")));
|
||||
let (port, runner) = port_and_runner(&verse, &world, 7, 1_000);
|
||||
let (port, runner) = port_and_runner(&verse, &world, 70, 1_000);
|
||||
let error = refused(&verse, &port, &runner, claim, &config(1)).await;
|
||||
assert!(matches!(error, VerseRunError::PortNotThisRun));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue