B2 fix batch: widen the stale-route test's wait so load cannot expire it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
05881ea8d8
commit
0703691790
1 changed files with 3 additions and 3 deletions
|
|
@ -17031,12 +17031,12 @@ mod tests {
|
|||
let Some(stderr) = in_unwritable_store_child(name)? else {
|
||||
let mut routed = routed_world(Odin::Unreachable, 1, DeploymentPhase::Fencing, false)?;
|
||||
routed.admit()?;
|
||||
routed.world.engine.options.topology_maximum_age_millis = 1_000;
|
||||
std::thread::sleep(Duration::from_millis(1_300));
|
||||
routed.world.engine.options.topology_maximum_age_millis = 3_000;
|
||||
std::thread::sleep(Duration::from_millis(3_300));
|
||||
break_store_writes(&routed.world);
|
||||
assert!(!routed.tick()?, "a write the store refused was reported as progress");
|
||||
let first = challenge_due(&routed.world).expect("the proved challenge left no wait");
|
||||
for _ in 0..20 {
|
||||
for _ in 0..5 {
|
||||
std::thread::sleep(Duration::from_millis(3));
|
||||
assert!(!routed.tick()?);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue