Skip to content

Commit

Permalink
[chassis]skip test_auto_techsupport.py for multi asic LC (#8171)
Browse files Browse the repository at this point in the history
What is the motivation for this PR?
The show auto techsupport commands does not work for multi asic devices.
skipping the test till the command failure is fix

How did you do it?
add a check to skip show_techsupport/test_auto_techsupport.py for multi asic cards.

How did you verify/test it?
show_techsupport/test_auto_techsupport.py::TestAutoTechSupport::test_sanity SKIPPED                                                                               [ 25%]
show_techsupport/test_auto_techsupport.py::TestAutoTechSupport::test_rate_limit_interval SKIPPED                                                                  [ 50%]
show_techsupport/test_auto_techsupport.py::TestAutoTechSupport::test_max_limit[techsupport] SKIPPED                                                               [ 75%]
show_techsupport/test_auto_techsupport.py::TestAutoTechSupport::test_max_limit[core] SKIPPED                                                                      [100%]

---------------------------------------------------------- generated xml file: /data/my_mgmt/tests/logs/tr.xml ----------------------------------------------------------
======================================================================== short test summary info ========================================================================
SKIPPED [2] show_techsupport/test_auto_techsupport.py: auto techsupport on multi asic platforms doesnt work
SKIPPED [2] show_techsupport/test_auto_techsupport.py:358: auto techsupport on multi asic platforms doesn't work

Signed-off-by: Arvindsrinivasan Lakshminarasimhan <arlakshm@microsoft.com>
  • Loading branch information
arlakshm authored May 30, 2023
1 parent e690943 commit 4471339
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,13 @@ route/test_static_route.py::test_static_route_ecmp_ipv6:
#######################################
##### show_techsupport #####
#######################################
show_techsupport/test_auto_techsupport.py:
skip:
reason: "auto techsupport on multi asic platforms doesnt work"
strict: True
conditions:
- (is_multi_asic==True)

show_techsupport/test_auto_techsupport.py::TestAutoTechSupport::test_sai_sdk_dump:
skip:
reason: "Test supported only on Nvidia(Mellanox) devices"
Expand Down

0 comments on commit 4471339

Please sign in to comment.