[Testing] Mock servers to be able to negotiate port numbers
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 455
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 165
Description
As we have more mock servers, each using a hardcoded port, there are now cases whereby the port is not available for some reason.
Hence, it'd be good to have an automatic port selection scheme for mock server testing.
Did you create an issue for using a delayed backoff and/or random port scheme?
Originally posted by @schweitzpgi in https://github.com/NVIDIA/cuda-quantum/pull/3429#pullrequestreview-3204011583
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 mock server tests and the hardcoded port assignments mentioned in the issue. The work is done when mock servers automatically negotiate available ports, avoiding failures when a configured port is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100