[ovs-git] Open vSwitch: tests: Add delay in NetFlow unit tests before killing processes. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 14 00:18:58 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  d441e1b3e9286126818b46ddf2ee06a313e7c2d0 (commit)
      from  1c0333b6baf58cb382d78b53305bfb06149793e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d441e1b3e9286126818b46ddf2ee06a313e7c2d0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d441e1b3e9286126818b46ddf2ee06a313e7c2d0
Author: Jesse Gross <jesse at nicira.com>
		
tests: Add delay in NetFlow unit tests before killing processes.
		
At the end of the NetFlow unit tests we warp time to force any
remaining flows to expire and then immediately kill OVS and the
collector.  However, this creates a race where sometimes these
processes are killed before the last records are sent or collected.
It's possible to force OVS to go through the run loop one last time
before exiting but it's harder to enforce that the collector receives
the packet.  This simply avoids the problem by adding a 1 second delay
before killing the processes, which should be more than enough time.

Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 tests/ofproto-dpif.at |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list