sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
173 stars 689 forks source link

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

Closed mssonicbld closed 1 day ago

mssonicbld commented 3 days ago

Description of PR

Summary: Fixes #169

Type of change

Back port request

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

mssonicbld commented 3 days ago

Original PR: https://github.com/sonic-net/sonic-mgmt/pull/13438

mssonicbld commented 2 days ago

/azp run Azure.sonic-mgmt

azure-pipelines[bot] commented 2 days ago
Azure Pipelines successfully started running 1 pipeline(s).