forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 6d56c1f. ("ofproto: Update rule's priority in eviction group.") Acked-by: Ben Pfaff <[email protected]> Acked-by: Kmindg G <[email protected]> Signed-off-by: YAMAMOTO Takashi <[email protected]>
- Loading branch information
Showing
1 changed file
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters