]> git.proxmox.com Git - mirror_ovs.git/commit
tests/pmd.at: Fix race in "PMD - change numa node" test
authorTimothy Redaelli <tredaelli@redhat.com>
Fri, 21 Apr 2017 13:38:58 +0000 (15:38 +0200)
committerDaniele Di Proietto <diproiettod@ovn.org>
Sun, 30 Apr 2017 01:30:22 +0000 (18:30 -0700)
commitad73c1429ad983cebc3c8d2ed7e44875f4a43cf8
treed60cb0edad6f4885c214afdf7ab39be15cd6f6c9
parent975954afcace1adf3042de187ecbafe65016edcc
tests/pmd.at: Fix race in "PMD - change numa node" test

Sometimes the test fails since dpif-netdev may process the 2 packets
in the "wrong" order.

This commit avoids the problem by printing (monitor) and verifying
any single packet instead of checking the 2 packets at the same time.

CC: Daniele Di Proietto <daniele.di.proietto@gmail.com>
Fixes: a12e2a88d672 ("test: Add more pmd tests.")
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod@ovn.org>
tests/pmd.at