Skip to content

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

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13438
Jul 7, 2024
Merged

[action] [PR:13438] Skip forced mgmt route test if intf is invalid#13583
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/13438

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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 7f2a314 into sonic-net:202405 Jul 7, 2024
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