Commit 9adde93
Fix fixture invocation order in qos/qos_sai_base.py (sonic-net#12152)
What is the motivation for this PR?
qos/test_qos_sai.py fail with the following -
failed on setup with "Failed: Not all critical processes are healthy"
The fixture dut_disable_ipv6 disables ipv6 due to which the following critical processes don't come up after swapping syncd ( fixture swapSyncd_on_selected_duts ) -
program:snmpd
program:snmp-subagent
And this issue only hits if swapSyncd_on_selected_duts is executed after dut_disable_ipv6 and since there is no dependency between these fixtures, they can execute in any order.
How did you do it?
This change introduces a dependency between dut_disable_ipv6 & swapSyncd_on_selected_duts such that former is always executed after latter.
How did you verify/test it?
Tested on Arista-7050CX3 platform with dualtor topology.1 parent 83a35c0 commit 9adde93
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1730 | 1730 | | |
1731 | 1731 | | |
1732 | 1732 | | |
1733 | | - | |
| 1733 | + | |
| 1734 | + | |
1734 | 1735 | | |
1735 | 1736 | | |
1736 | 1737 | | |
| |||
0 commit comments