-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Test Case Where Bond MTU is Greater than Links MTU
This commit introduces a new test case in which the bond's MTU is larger than the MTU of its links. The test verifies whether an error is raised when the bond's MTU exceeds the MTU of its links. - Added an option to modify the MTU setting in the string config used across all tests. This change allows each test to set the MTU option to the desired value. - Created a constant for the values used in the MTU validation function, thereby improving code readability by avoiding the use of "magic numbers". Signed-off-by: Alina Sudakov <[email protected]>
- Loading branch information
1 parent
c33bdbe
commit c18cd57
Showing
2 changed files
with
59 additions
and
24 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
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