missing api to ensure iperf server started
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 59
- Forks
- 27
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 5
Description
let's assume you have 2 unix devices. You take iperf command
svr = unix1.get_cmd("iperf", cmd_params={'options': '-s -i 1')
run_client = unix2.get_cmd("iperf", cmd_params={'options': '-c {} -i 1 -t 10'.format(server_ip))
then you need to add sleep to let server start:
svr.start(timeout=15)
time.sleep(1)
client_report = run_client(timeout=15)
would be great to let it express as:
svr.start(timeout=15)
svr.await_started(timeout=1)
client_report = run_client(timeout=15)
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 from the Python command lifecycle used by get_cmd("iperf") and the server's start(timeout=15) call. Trace how a running command exposes readiness, then add an await_started(timeout=1) entry point so the client can run without time.sleep; done means the example sequence works reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100