microsoft / microsoft/demikernel
[test] Regression Tests for TCP
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Description
We should add the following regression tests for TCP:
- Deterministic hashmap
- Random number of clients, connecting and disconnecting from each other randomly
- Futzing for sending data, receiving data, half-closing, full-closing
- Delay, drop, reorder, and duplicate packets randomly
- Different MSS and TCP options
- Invariant checks around resources getting freed
- Resource limit scenarios
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Rust TCP implementation and test harness, then read how current network tests model clients, packets, and resource cleanup. Compare the harness with each listed regression scenario, including hashmap determinism, connection churn, packet faults, TCP options, invariants, and resource limits. Done means the requested regression coverage is implemented and passes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking, testing-qa
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100