Continuing work on regression test, adding requirements to update_dependencies.py

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-02-17 14:46:11 -08:00
parent c2d0655680
commit bd64f1c1c6
3 changed files with 4 additions and 4 deletions

View File

@@ -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 "</table>" >> $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"
}

View File

@@ -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)

View File

@@ -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)