[ovs-git] [openvswitch/ovs] edd61d: tests/pmd.at: Fix race in "PMD - change numa node"...

GitHub noreply at github.com
Sun Apr 30 01:58:22 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: edd61d8977ea3a72222866cdc059c15ec8d1f9a9
      https://github.com/openvswitch/ovs/commit/edd61d8977ea3a72222866cdc059c15ec8d1f9a9
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M tests/pmd.at

  Log Message:
  -----------
  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 at gmail.com>
Fixes: a12e2a88d672 ("test: Add more pmd tests.")
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod at ovn.org>




More information about the git mailing list