Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ slow-timeout = { period = "300s", terminate-after = 3 }
retries = 0
failure-output = "immediate-final"

# A sweep run past its gate count on purpose, such as `MOQ_ROUTE_SCENARIOS=20000
# just rs test -P sweep ...`, takes minutes. Still bounded, so a lost wakeup
# A sweep run past its gate count on purpose, such as those `test/route-sweep.sh`
# runs with `-P sweep`, takes minutes. Still bounded, so a lost wakeup
# ends in a TIMEOUT rather than a wedge.
[profile.sweep]
slow-timeout = { period = "60s", terminate-after = 60 }
Expand Down
6 changes: 0 additions & 6 deletions test/route-sweep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ echo "Route sweep: MOQ_ROUTE_SEED=$MOQ_ROUTE_SEED MOQ_ROUTE_CASES=$MOQ_ROUTE_CAS
# Release keeps the sweep inside nextest's hang budget; the checks stay on so it still catches what a debug run would.
export CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS=true CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS=true
just rs test -p moq-net --release --features async --test integration -E 'test(=mesh_sweep::seeded_meshes_hold_the_route_rules)'
# The router's handoff sweeps replay their fixed scenarios past the gate's 150.
MOQ_ROUTE_SCENARIOS=${MOQ_ROUTE_SCENARIOS:-20000} just rs test -P sweep -p moq-net --release -E 'test(/^route::tests::handoff::(distance|path)::sweep_/) | test(/^route::tests::scope::sweep_scoped_meshes_show_what_the_rule_says$/)'
# Every delivery order of the small meshes the gate's triangle leaves out.
just rs test --profile=sweep -p moq-net --release --run-ignored only -E 'test(/^route::tests::search::/)'
# Cache-aware routing's long sweep, from the same seed, settles every churned mesh of copies: 3000 scenarios each with and without held links, about 3 minutes.
MOQ_ROUTE_CASES=3000 just rs test -P sweep -p moq-net --release --run-ignored only -E 'test(=route::tests::cache::sweep_cache_routing_long)'
# The multicast bake-off: its prototype carries every failure on every shape at 32 relays, and its tables against the path rule and the router at 12.
MOQ_BAKEOFF_RELAYS=12 just rs test --profile=sweep -p moq-net --release --run-ignored only -E 'test(/^route::tests::bakeoff::(sweep|benchmark)_/)'
# The multicast router: every failure on every shape at 32 relays, every delivery order the gate's searches leave out, what one event costs it, and how its floors grow.
Expand Down