-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IPv4 mtu tests #145
Add IPv4 mtu tests #145
Conversation
...Framework/DentOsTestbed/src/dent_os_testbed/test/test_suite/functional/ipv4/test_ipv4_mtu.py
Outdated
Show resolved
Hide resolved
""" | ||
# 1. Init interfaces | ||
tgen_dev, dent_devices = await tgen_utils_get_dent_devices_with_tgen(testbed, [], 4) | ||
if not tgen_dev or not dent_devices: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check is done in the change_port_mtu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the fixture fails it will not fail the test. So this check is still necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe then just returning is not the correct way to process this situation? Probably skip is better. If we just return, the test has a PASS result, but in fact, it isn't executed at all. So let's change to skip in all places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I suggest to do this in a separate PR
DentOS_Framework/DentOsTestbed/src/dent_os_testbed/test/test_suite/functional/ipv4/conftest.py
Outdated
Show resolved
Hide resolved
...Framework/DentOsTestbed/src/dent_os_testbed/test/test_suite/functional/ipv4/test_ipv4_mtu.py
Outdated
Show resolved
Hide resolved
23e9f37
to
06b0e7c
Compare
788deb5
- test_ipv4_oversized_mtu - test_ipv4_fragmentation Signed-off-by: Serhiy Boiko <serhiy.boiko@plvision.eu>
788deb5
to
bff3932
Compare
- test_ipv4_oversized_mtu - test_ipv4_fragmentation Signed-off-by: Serhiy Boiko <serhiy.boiko@plvision.eu>
Signed-off-by: Serhiy Boiko serhiy.boiko@plvision.eu