[ovs-dev] [PATCH 0/3] Fix race conditions in choosing TCP ports in tests

Ben Pfaff blp at nicira.com
Wed Apr 3 19:02:55 UTC 2013


I've seen a number of test failures for this reason lately, so I've
decided to finally fix the problem for real.

Ben Pfaff (3):
  tests: Make test-netflow, test-sflow accept all logging options.
  socket-util: Log kernel-chosen bound ports in inet_open_passive().
  tests: Avoid race conditions, by letting the kernel choose ports to
    bind.

 lib/socket-util.c       |   16 ++++++++++++----
 tests/automake.mk       |    2 --
 tests/choose-port.pl    |   26 --------------------------
 tests/ofproto-dpif.at   |   33 ++++++++++++++++-----------------
 tests/ofproto-macros.at |   17 +++++++++++++++++
 tests/ovsdb-idl.at      |    7 ++++---
 tests/ovsdb-server.at   |   26 +++++++++++++-------------
 tests/test-netflow.c    |   12 +++++-------
 tests/test-sflow.c      |   13 ++++++-------
 9 files changed, 73 insertions(+), 79 deletions(-)
 delete mode 100644 tests/choose-port.pl

-- 
1.7.10.4




More information about the dev mailing list