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:
Matthew Stidham
2021-12-28 14:01:14 -08:00
committed by shivam
parent 0f54243be8
commit 5250be3c84

View File

@@ -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):