[ovs-git] Open vSwitch: ofproto.at: Fix races in rule eviciton tests (master)

dev at openvswitch.org dev at openvswitch.org
Wed Apr 2 02:39:45 UTC 2014


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  337a3866f409b4aef2a8532022cc467fbe3de4a8 (commit)
      from  6202217226231b308ae9b1fc5a628b54b9f63d33 (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 337a3866f409b4aef2a8532022cc467fbe3de4a8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=337a3866f409b4aef2a8532022cc467fbe3de4a8
Author: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
		
ofproto.at: Fix races in rule eviciton tests
		
Bump timeout differences, because timeouts different by 1s might end up
to have the same position in the heap as rule_eviction_priority() uses
1024ms as a unit.

Also, use time/stop to avoid relying on how long an add-flow would take.

These tests were introduced by commit 6d56c1f1.
("ofproto: Update rule's priority in eviction group.")

Acked-by: Ben Pfaff <blp at nicira.com>
Acked-by: Kmindg G <kmindg at gmail.com>
Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>


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

Summary of changes:
 tests/ofproto.at |   54 ++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 34 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list