test_l3_longevity.py : debug information

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-19 16:53:28 -06:00
parent 803485641b
commit d2796c9a93

View File

@@ -318,17 +318,20 @@ class L3VariableTime(Realm):
lat += int(endp["delay"])
jit += int(endp["jitter"])
name = endp["name"]
print("endp name {name}".format(name=name))
if name.endswith("-A"):
print("name has -A")
total_dl_rx_rate += int(endp["rx rate"])
total_dl_rx_rate_ll += int(endp["rx rate ll"])
total_dl_rx_pkts_ll += int(endp["rx pkts ll"])
else:
print("name has -B")
total_ul_rx_rate += int(endp["rx rate"])
total_ul_rx_rate_ll += int(endp["rx rate ll"])
total_ul_rx_pkts_ll += int(endp["rx pkts ll"])
count += 1
print("matched: ")
print("matched")
else:
print("Did not match")