test_l3_longevity.py : update logging

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-24 16:03:02 -06:00
parent 25cd56a2e7
commit ace6de3140

View File

@@ -332,10 +332,10 @@ class L3VariableTime(Realm):
total_ul_rx_pkts_ll += int(endp["rx pkts ll"]) total_ul_rx_pkts_ll += int(endp["rx pkts ll"])
count += 1 count += 1
print("name: {name} Matched: eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp)) print("Matched: name: {name} eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp))
else: else:
name = endp["name"] name = endp["name"]
print("name: {name} Did not match: eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp)) print("No Match: name: {name} eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp))
if count > 1: if count > 1:
lat = int(lat / count) lat = int(lat / count)