Skip to content

Commit

Permalink
tests: Fix OVN_CHECK_PACKETS_REMOVE_BROADCAST macro.
Browse files Browse the repository at this point in the history
Macro was not properly checking for the received packets.

Reported-by: Numan Siddique <numans@ovn.org>
Fixes: 8e48f8f ("tests: Update macros waiting for packets.")
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
  • Loading branch information
simonartxavier committed Dec 9, 2024
1 parent 9b9cdfd commit bf74cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ovn-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ m4_define([OVN_CHECK_PACKETS],
# Wait to receive all packets in $2, potentially receiving extra broadcast packets.
# Fails if any (non bcast) additional packet, or any duplicate packets is received.
m4_define([OVN_CHECK_PACKETS_REMOVE_BROADCAST],
[ovn_check_packets_remove_broadcast__ "$1" "$2" "__file__:__line__" "$3"
[ovn_check_packets_remove_broadcast__ "$1" "$2" "__file__:__line__" $3
AT_CHECK([sort $rcv_text], [0], [expout], [ignore], [dump_diff__ "$1" "$2"])])

# Wait to receive all packets from $2.
Expand Down

0 comments on commit bf74cda

Please sign in to comment.