Instead of waiting for const seconds, need to have a proc to wait for daemon port to be open
Bug #1367737 reported by
Vedamurthy Joshi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.06 |
New
|
Medium
|
Sandip Dey | |||
R1.1 |
New
|
Medium
|
Sandip Dey | |||
Trunk |
New
|
Medium
|
Sandip Dey |
Bug Description
In the tests, we usually wait for 30 sec, 60 sec etc. after restarting a process.
Instead, we should have a method to wait for the process' port number (in LISTEN state) with retries in place.
For ex : 9100 for contrail-api, 8083 for control-node etc...
It should be something like wait_for_
Also, this needs to be go into all the places where we are currently doing inputs.
To post a comment you must log in.