Skip to content

Commit

Permalink
[sanity_check]: Update mux simulator comments
Browse files Browse the repository at this point in the history
Signed-off-by: Lawrence Lee <[email protected]>
  • Loading branch information
theasianpianist committed Feb 19, 2021
1 parent 5729745 commit bea9715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common/plugins/sanity_check/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _check():
results['failed_reason'] = 'Unable to switch active link to upper ToR'
return results

# Ping from both ToRs, expect both messages to reach PTF
# Ping from both ToRs, expect only message from upper ToR to reach PTF
upper_tor_host.shell(ping_cmd.format(tor_mux_intf, upper_tor_ping_tgt_ip))
try:
testutils.verify_packet(ptfadapter, upper_tor_exp_pkt, ptf_port_index)
Expand All @@ -374,7 +374,7 @@ def _check():
results['failed_reason'] = 'Packet from standby lower ToR received'
return results

# Send dummy ARP packets from PTF to ToR. Ensure that ARP is learned on active ToR only
# Send dummy ARP packets from PTF to ToR. Ensure that ARP is learned on both ToRs
upper_tor_host.shell("ip neigh flush all")
lower_tor_host.shell("ip neigh flush all")
testutils.send_packet(ptfadapter, ptf_port_index, ptf_arp_pkt)
Expand Down

0 comments on commit bea9715

Please sign in to comment.