Commit 59ab68b
committed
test: Wait for iper3 server
Turns out that iperf3 is using the `simple` service type:
$ sudo systemctl show iperf3 | grep ^Type=
Type=simple
In this case `systemctl start iperf3` does not wait for the service to
signal that it is ready to handle requests or has finished initializing,
so we may return before the service is ready to serve requests.
We wait now until iperf3 port is in listening state.
Signed-off-by: Nir Soffer <[email protected]>1 parent a7cc880 commit 59ab68b
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
0 commit comments