Skip to content

Commit df7bbc9

Browse files
committed
Made Change in base interop profile for fetching adbs dictionary data fetching, set wait timers back to normal
1 parent 11ef404 commit df7bbc9

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

py-scripts/DeviceConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ class DeviceConfig(Realm):
915915
def __init__(self, lanforge_ip=None,
916916
port=8080, file_name=None,
917917
_debug_on=False, csv_name=None, create_csv=False,
918-
wait_time=20
918+
wait_time=60
919919
):
920920
super().__init__(lfclient_host=lanforge_ip,
921921
debug_=_debug_on)

py-scripts/lf_base_interop_profile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ async def configure_wifi(self, select_serials=None):
11761176

11771177
if (selected_laptops == []):
11781178
logging.info("WAITING FOR 120 seconds")
1179-
time.sleep(10)
1179+
time.sleep(120)
11801180
if (selected_laptops != []):
11811181
# if laptop['eap_method']!="" or laptop['eap_method']!= None or laptop['eap_method']!="NA":
11821182
await self.laptops_obj.rm_station(port_list=selected_laptops)
@@ -1195,7 +1195,7 @@ async def configure_wifi(self, select_serials=None):
11951195
# time.sleep(60)
11961196
# logging.info('Applying the new Wi-Fi configuration. Waiting for 2 minutes for the new configuration to apply.')
11971197
logging.info("WAITING TOTAL 70 SECONDS FOR CONFIGURATION TO APPLY")
1198-
time.sleep(10)
1198+
time.sleep(70)
11991199
exclude_laptops_con = []
12001200
for laptop in selected_laptops:
12011201
current_laptop_port_data = self.json_get('/port/{}/{}/{}'.format(laptop['shelf'], laptop['resource'], laptop['sta_name']))
@@ -2108,4 +2108,4 @@ def main():
21082108

21092109

21102110
if __name__ == '__main__':
2111-
main()
2111+
main()

py-scripts/lf_graph.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,12 @@ def __init__(self, _data_set=None,
295295
self.yticks_rotation = _yticks_rotation
296296

297297
def build_bar_graph_horizontal(self):
298-
print("manoj",self.color)
299-
print(self.data_set)
300298
if self.color is None:
301299
i = 0
302300
self.color = []
303301
for _ in self.data_set:
304302
self.color.append(self.color_name[i])
305303
i = i + 1
306-
print("durga1",self.color)
307-
print(self.data_set)
308304
fig_size, ax = plt.subplots(figsize=self.figsize, gridspec_kw=self.alignment)
309305
i = 0
310306
# to remove the borders

0 commit comments

Comments
 (0)