[ovs-git] Open vSwitch: tests: Fix theoretical races in "ofproto-dpif - controller" test. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jul 16 17:12:54 UTC 2013


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  57c94f353990e603d9e4259fcf2724491df2a068 (commit)
       via  faea2958e4dba9befa202a2426aebeb7787a626f (commit)
      from  30cc7d2969aa5397328a49a7d85196a4afdc7f8b (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 57c94f353990e603d9e4259fcf2724491df2a068
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=57c94f353990e603d9e4259fcf2724491df2a068
Author: Ben Pfaff <blp at nicira.com>
		
tests: Fix theoretical races in "ofproto-dpif - controller" test.
		
I don't see anything that guaranteed that ovs-ofctl would receive and print
the packets before it exited.  This commit inserts explicit waits, to avoid
the problem.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at nicira.com>


commit faea2958e4dba9befa202a2426aebeb7787a626f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=faea2958e4dba9befa202a2426aebeb7787a626f
Author: Ben Pfaff <blp at nicira.com>
		
hindex: Fix test expected output.
		
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 tests/library.at      |    2 +-
 tests/ofproto-dpif.at |   46 +++++++++++++++++++++++++++++++---------------
 2 files changed, 32 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list