mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-12-24 22:37:03 +00:00
LFUtils.wait_until_ports_disappear: check for port statuses once per second
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -576,8 +576,7 @@ def wait_until_ports_disappear(base_url="http://localhost:8080", port_list=(), d
|
||||
if len(found_stations) > 0:
|
||||
if debug:
|
||||
pprint.pprint(("wait_until_ports_disappear found_stations:", found_stations))
|
||||
sleep(1) # safety
|
||||
return
|
||||
sleep(1) # check for ports once per second
|
||||
|
||||
|
||||
def waitUntilPortsAppear(base_url="http://localhost:8080", port_list=(), debug=False):
|
||||
|
||||
Reference in New Issue
Block a user