test_generic: wait_for_ip will inherit debug status from the class

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-28 14:10:46 -08:00
committed by shivam
parent b279f44604
commit f22109c884

View File

@@ -113,7 +113,7 @@ class GenTest(LFCliBase):
if self.debug: if self.debug:
pprint.pprint(self.station_profile.station_names) pprint.pprint(self.station_profile.station_names)
LFUtils.wait_until_ports_admin_up(base_url=self.lfclient_url, port_list=self.station_profile.station_names) LFUtils.wait_until_ports_admin_up(base_url=self.lfclient_url, port_list=self.station_profile.station_names)
if self.local_realm.wait_for_ip(station_list=temp_stas, ipv4=True): if self.local_realm.wait_for_ip(station_list=temp_stas, ipv4=True, debug=self.debug):
self._pass("All stations got IPs") self._pass("All stations got IPs")
else: else:
self._fail("Stations failed to get IPs") self._fail("Stations failed to get IPs")