Skip to content

Commit 2be821e

Browse files
tjchadagaAharonMalkin
authored andcommitted
Add config save after TSB to reset device state (sonic-net#9462)
1 parent 4de33b7 commit 2be821e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/bgp/test_traffic_shift_sup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,10 @@ def test_TSA_TSB_chassis_with_config_reload(self, duthosts, enum_supervisor_dut_
133133
self.run_cmd_on_sup("sudo TSB")
134134
# Verify DUT is in normal state.
135135
self.verify_traffic_shift_state_all_lcs(TS_NORMAL, "normal")
136+
137+
# Save config and perform config reload on all LCs
138+
self.run_cmd_on_sup("rexec all -c 'sudo config save -y'")
139+
self.config_reload_all_lcs()
140+
141+
# Verify DUT is in normal state.
142+
self.verify_traffic_shift_state_all_lcs(TS_NORMAL, "normal")

0 commit comments

Comments
 (0)