lf_kpi_csv.py : path output fix

test_l3_longevity.py : output kpi path
ct_us_001_test.json : kpi to database

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-10-21 13:51:06 -06:00
parent 701623c829
commit 91ca63f497
3 changed files with 30 additions and 5 deletions

View File

@@ -2030,6 +2030,8 @@ python3 .\\test_l3_longevity.py --test_duration 4m --endp_type \"lf_tcp lf_udp m
# Get the report path to create the kpi.csv path
kpi_path = report.get_report_path()
print("kpi_path :{kpi_path}".format(kpi_path=kpi_path))
kpi_csv = lf_kpi_csv.lf_kpi_csv(
_kpi_path = kpi_path,
_kpi_test_rig = test_rig,
@@ -2039,7 +2041,6 @@ python3 .\\test_l3_longevity.py --test_duration 4m --endp_type \"lf_tcp lf_udp m
_kpi_dut_model_num = dut_model_num,
_kpi_test_id = test_id)
if args.csv_outfile is not None:
current_time = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())
csv_outfile = "{}_{}-test_l3_longevity.csv".format(args.csv_outfile, current_time)