-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up unit tests for Openflow client in Agent (#5622)
* There is no reason for unit tests to depend on OVSMetersAreSupported() (which is platform-dependent), we can just set the client's ovsMetersAreSupported field to the desired value. * Run some tests in both configurations (meters supported / unsupported) regardless of platform support. Tests that require Egress traffic shaping are always run with ovsMetersAreSupported set to true. * Add ability to provide a mock OF bridge when creating the test client. Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
e8f5d93
commit ab94f29
Showing
3 changed files
with
243 additions
and
249 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
Oops, something went wrong.