diff --git a/py-scripts/regression_test.sh b/py-scripts/regression_test.sh index fad22d3f..9ce56e98 100755 --- a/py-scripts/regression_test.sh +++ b/py-scripts/regression_test.sh @@ -45,7 +45,7 @@ testCommands=( --radio \"radio==wiphy0 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\" --radio \"radio==wiphy1 stations==4 ssid==$SSID_USED ssid_pw==$PASSWD_USED security==$SECURITY\"" "./test_l3_powersave_traffic.py --radio $RADIO_USED --ssid $SSID_USED --passwd $PASSWD_USED --security $SECURITY --debug" - "./test_l3_scenario_throughput.py -t 15 -sc test_l3_scenario_throughput" + "./test_l3_scenario_throughput.py -t 15s -sc test_l3_scenario_throughput" "./test_status_msg.py --debug " #this is all which is needed to run #"./test_wanlink.py --debug" #"./ws_generic_monitor_test.py" @@ -197,7 +197,7 @@ function html_generator() { echo "${results[@]}" >> $fname echo "" >> $fname echo "$tail" >> $fname - rm "/home/lanforge/html_reports/latest.html" || true + unlink "/home/lanforge/html_reports/latest.html" || true ln -s "${fname}" "/home/lanforge/html-reports/latest.html" } diff --git a/py-scripts/test_l3_scenario_throughput.py b/py-scripts/test_l3_scenario_throughput.py index 4d573814..0494c2bd 100755 --- a/py-scripts/test_l3_scenario_throughput.py +++ b/py-scripts/test_l3_scenario_throughput.py @@ -322,7 +322,7 @@ def main(): Scenario_2 = LoadScenario(manager, 8080, scenario) #Wait for Sometime time.sleep(10) - duration_sec=Realm.parse_time(args.duration).total_minutes() + duration_sec=Realm.parse_time(args.duration).total_seconds() * 60 # Port Utility function for reading CX and VAP PortUtility(manager,8080, duration_sec, report_name, scenario, test_detail) diff --git a/py-scripts/update_dependencies.py b/py-scripts/update_dependencies.py index 051d1c56..6c1258d1 100755 --- a/py-scripts/update_dependencies.py +++ b/py-scripts/update_dependencies.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import subprocess def main(): - command = "pip3 install pandas seaborn plotly numpy dash paramiko bokeh websocket-client pyarrow --upgrade" + command = "pip3 install pandas seaborn plotly numpy dash paramiko bokeh websocket-client pyarrow xlsxwriter --upgrade" res = subprocess.call(command, shell = True) print("Returned Value: ", res)