mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
Added check with wait_for_ips that will stop the test if a timeout occurs
This commit is contained in:
@@ -93,7 +93,11 @@ class IPV6VariableTime(LFCliBase):
|
||||
self.station_profile.admin_up(self.resource)
|
||||
temp_stas = self.sta_list.copy()
|
||||
temp_stas.append("eth1")
|
||||
self.local_realm.wait_for_ip(self.resource, temp_stas, ipv6=True)
|
||||
if self.local_realm.wait_for_ip(self.resource, temp_stas, ipv6=True):
|
||||
self._pass("All stations got IPs", print_pass)
|
||||
else:
|
||||
self._fail("Stations failed to get IPs", print_fail, ipv6=True)
|
||||
exit(1)
|
||||
cur_time = datetime.datetime.now()
|
||||
old_cx_rx_values = self.__get_rx_values()
|
||||
end_time = self.local_realm.parse_time(self.test_duration) + cur_time
|
||||
|
||||
Reference in New Issue
Block a user