More Thorough Autorelay Tests
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.9k
- Forks
- 1.3k
- Avg merge
- 13d 21h
- Merged PRs (30d)
- 1
Description
The filecoin project uses the autorelay and autoNAT features and is aware that it is not trivial to set up tests for these things. The existing autorelay test is reassuring to have. To further improve confidence in the reliability of this feature we would love enhancements to the current autorelay tests. This includes deflaking as well as adding more extensive tests of the features, ideally tests using more realistic networks with less mocking.
cc @phritz -- call out anything I'm missing.
Contributor guide
No contributing guide indexed for this repository
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 with p2p/host/relay/autorelay_test.go, especially the existing test around line 135, and review issue #477 for the deflaking context. Identify the current test gaps and how realistic network setups could replace some mocking; done means the autorelay tests cover the agreed scenarios reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking, testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100