diff --git a/.config/nextest.toml b/.config/nextest.toml index 14df5d4a8d..71922b9b1d 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -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 } diff --git a/test/route-sweep.sh b/test/route-sweep.sh index be47a43765..4c6d0e1850 100755 --- a/test/route-sweep.sh +++ b/test/route-sweep.sh @@ -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.