mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	wait for time has reduced from 120 sec to 60 sec
Signed-off-by: Amrit Raj <amrit.raj@candelatech.com>
This commit is contained in:
		| @@ -99,6 +99,7 @@ class IPVariableTime(Realm): | |||||||
|         self.traffic_type = traffic_type |         self.traffic_type = traffic_type | ||||||
|         self.number_template = number_template |         self.number_template = number_template | ||||||
|         self.debug = _debug_on |         self.debug = _debug_on | ||||||
|  |         self.timeout_sec = 60 | ||||||
|         # self.json_post("/cli-json/set_resource", { |         # self.json_post("/cli-json/set_resource", { | ||||||
|         #     "shelf":1, |         #     "shelf":1, | ||||||
|         #     "resource":all, |         #     "resource":all, | ||||||
| @@ -165,7 +166,7 @@ class IPVariableTime(Realm): | |||||||
|         self.station_profile.admin_up() |         self.station_profile.admin_up() | ||||||
|         temp_stas = self.station_profile.station_names.copy() |         temp_stas = self.station_profile.station_names.copy() | ||||||
|         print("temp_stas {temp_stas}".format(temp_stas=temp_stas)) |         print("temp_stas {temp_stas}".format(temp_stas=temp_stas)) | ||||||
|         if self.wait_for_ip(temp_stas, ipv4=not self.ipv6, ipv6=self.ipv6): |         if self.wait_for_ip(temp_stas, ipv4=not self.ipv6, ipv6=self.ipv6, timeout_sec=self.timeout_sec): | ||||||
|             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") | ||||||
|   | |||||||
| @@ -107,7 +107,7 @@ class TTLSTest(Realm): | |||||||
|         self.hs20_enable = hs20_enable |         self.hs20_enable = hs20_enable | ||||||
|         self.enable_pkc = enable_pkc |         self.enable_pkc = enable_pkc | ||||||
|  |  | ||||||
|         self.timeout = 120 |         self.timeout = 60 | ||||||
|         self.number_template = number_template |         self.number_template = number_template | ||||||
|         self.debug = _debug_on |         self.debug = _debug_on | ||||||
|         self.station_profile = self.new_station_profile() |         self.station_profile = self.new_station_profile() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Amrit Raj
					Amrit Raj