update package fixture to module level for iface_loopback_action#7593
update package fixture to module level for iface_loopback_action#7593ZhaohuiS merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
|
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:
|
Description of PR
iface_loopback_action folder was new added in #5871.
It uses package level fixture which will run the conftest before sanity check.
In ports_configuration it did some remove vlan member or portchannel member operation, which will cause the following sanity check failure obviously.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Make sanity check run before conftest of iface loopback action.
How did you do it?
Use module level fixture instead.
How did you verify/test it?
Run iface_loopback_action/test_iface_loopback_action.py without skip-sanity option
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation