-
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
A-developer-xpArea: developer experienceArea: developer experienceA-networkingArea: Networking, ring protocol, peer discoveryArea: Networking, ring protocol, peer discoveryE-mediumExperience needed to fix/implement: Medium / intermediateExperience needed to fix/implement: Medium / intermediateT-enhancementType: Improvement to existing functionalityType: Improvement to existing functionality
Description
Problem
The current test_connection_growth_stall_regression test uses a small simulation (15 nodes, 20 virtual minutes) with moderate assertions to keep CI fast. This limits how tightly we can assert on connection growth speed and final topology quality due to run-to-run variance in small simulations.
Proposal
Add nightly-only connectivity tests with:
- Larger scale: 50+ nodes,
min_connections=10+, 1 virtual hour (pertesting.mdguidance) - Growth rate assertions: Checkpoint connection counts at multiple time intervals (e.g., 5m, 15m, 30m, 60m) and assert monotonic growth toward
min_connections - Stronger final-state assertions: >= 90% of nodes at
min_connections(pertesting.md) - Fault recovery speed: After injecting faults, assert recovery to pre-fault levels within a bounded time window
These would run on a schedule (not per-PR) since they take several minutes each.
Context
PR #3510 tightened the existing regression test assertions but was limited by the small simulation size. Nightly tests can use realistic parameters without blocking CI.
Checklist
- Add
#[cfg(feature = "nightly_tests")]gated tests - 50-node topology formation test with median >=
min_connectionsassertion - Growth rate checkpoint test (no plateau detection)
- Fault injection + recovery speed test
- CI schedule configuration for nightly runs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-developer-xpArea: developer experienceArea: developer experienceA-networkingArea: Networking, ring protocol, peer discoveryArea: Networking, ring protocol, peer discoveryE-mediumExperience needed to fix/implement: Medium / intermediateExperience needed to fix/implement: Medium / intermediateT-enhancementType: Improvement to existing functionalityType: Improvement to existing functionality
Type
Projects
Status
Todo