Use conditional mark to skip testcase instead of required_mocked_dualtor#6766
Conversation
What is the motivation for this PR? Currently, we use required_mocked_dualtor to skip testcases in real dualtor under `tests/dualtor/`, but it's not efficient enough, and will cause show mux status error after toggle. How did you do it? Use conditional mark to skip testcase instead of required mocked dualtor How did you verify/test it? Run tests Any platform specific information? Supported testbed topology if it's a new test case?
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
This pull request introduces 1 alert when merging 48c18cb into a4feb41 - view on LGTM.com new alerts:
|
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
@xwjiang-ms Since your PR covered the same issue in my PR #6768 , I will close mine. |
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
tests/common/plugins/conditional_mark/tests_mark_conditions.yaml
Outdated
Show resolved
Hide resolved
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
…tor (#6766) * Use conditional mark to skip testcase instead of required mocked dualtor What is the motivation for this PR? Currently, we use required_mocked_dualtor to skip testcases in real dualtor under `tests/dualtor/`, but it's not efficient enough, and will cause show mux status error after toggle. How did you do it? Use conditional mark to skip testcase instead of required mocked dualtor How did you verify/test it? Run tests Any platform specific information? Supported testbed topology if it's a new test case?
…tor (#6766) * Use conditional mark to skip testcase instead of required mocked dualtor What is the motivation for this PR? Currently, we use required_mocked_dualtor to skip testcases in real dualtor under `tests/dualtor/`, but it's not efficient enough, and will cause show mux status error after toggle. How did you do it? Use conditional mark to skip testcase instead of required mocked dualtor How did you verify/test it? Run tests Any platform specific information? Supported testbed topology if it's a new test case?
…ic-mgmt into internal-202205 Fix merge conflicts. - Fix verify_no_packet_any call in fib_test (sonic-net#6461) - Fix the test case test_TSA failure when check the routes on the eos host (sonic-net#6483) - Use conditional mark to skip testcase instead of required_mocked_dualtor (sonic-net#6766) - [tagged_arp] fix issue 'fixture ports_list not found' (sonic-net#6773) - [QoS] fixes after moving to python3 (sonic-net#6786) - update parse funciton for image url (sonic-net#6848) - Fix typo in get_queue_counter (sonic-net#6852) - Revert "Fix loganalyzer.py UnicodeDecodeError (sonic-net#6524)" (sonic-net#6858) - Enhancing core_dump_and_config_check to be multi-asic aware (sonic-net#6527) - Adding support for calculating balancing in multi-lc/multi-asic case (Test_fib.py) (sonic-net#6391) - Support different RC in case of pre or post sanity check failed (sonic-net#6860) - Update getbuild.py to support pass an empty access_token - [202205] Fixing auto_techsupport (sonic-net#6882) - Merge branch 'azure-202205' into dev/yaqiangzhu/202205_manually_merge
Description of PR
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Currently, we use required_mocked_dualtor to skip testcases in real dualtor under
tests/dualtor/, but it's not efficient enough, and will cause show mux status error after toggle.How did you do it?
Use conditional mark to skip testcase instead of required mocked dualtor
How did you verify/test it?
Run tests
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation