Commit 82c3858
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 0be1031 commit 82c3858
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
1691 | | - | |
| 1691 | + | |
| 1692 | + | |
1692 | 1693 | | |
1693 | 1694 | | |
1694 | 1695 | | |
| |||
0 commit comments