sta_connect: Wait until ports appear after adding new stations

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-13 11:56:14 -08:00
parent 68568f5a42
commit 859e952ef9

View File

@@ -177,6 +177,8 @@ class StaConnect(Realm):
self.json_post("/cli-json/add_sta", add_sta_data, suppress_related_commands_=True)
time.sleep(0.01)
LFUtils.wait_until_ports_appear(port_list=self.station_names)
set_port_data = {
"shelf": 1,
"resource": self.resource,