NVIDIA / NVIDIA/cuda-quantum

[Testing] Mock servers to be able to negotiate port numbers

Open
#3,483 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale-notified
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.