Skip to content
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

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Add IPv4 mtu tests #145

merged 1 commit into from
Feb 23, 2023

Conversation

SerhiyBoikoPLV
Copy link
Contributor

  • test_ipv4_oversized_mtu
  • test_ipv4_fragmentation

Signed-off-by: Serhiy Boiko serhiy.boiko@plvision.eu

"""
# 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:
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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

mgheorghe
mgheorghe previously approved these changes Feb 21, 2023
muchetan
muchetan previously approved these changes Feb 21, 2023
- test_ipv4_oversized_mtu
- test_ipv4_fragmentation

Signed-off-by: Serhiy Boiko <serhiy.boiko@plvision.eu>
@mgheorghe mgheorghe merged commit 76e6d76 into dentproject:main Feb 23, 2023
stavrukPLV referenced this pull request in PLVision/dent-testing Feb 27, 2023
- test_ipv4_oversized_mtu
- test_ipv4_fragmentation

Signed-off-by: Serhiy Boiko <serhiy.boiko@plvision.eu>
@SerhiyBoikoPLV SerhiyBoikoPLV deleted the test_ipv4_mtu branch March 6, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants