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

[action] [PR:13438] Skip forced mgmt route test if intf is invalid #13584

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Fixes #169

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?

Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?

Tested on a t0 setup on a Arista-7260

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

What is the motivation for this PR?
Skip test_forced_mgmt_route_add_and_remove_by_mgmt_port_status in route/test_forced_mgmt_route.py if eth1 does not exist or is being used. This test was failing on Arista platforms when interface eth1 did not exist.

How did you do it?
Added a check to see if eth1 does not exist, and skips the test if so.

How did you verify/test it?
Tested on a t0 setup on a Arista-7260
@mssonicbld
Copy link
Collaborator Author

Original PR: #13438

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-mgmt

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-mgmt

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit c2c6ba5 into sonic-net:202311 Jul 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants