Skip to content

Commit

Permalink
Add config save after TSB to reset device state (sonic-net#9462)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjchadaga authored Aug 16, 2023
1 parent 17daff1 commit e73becc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/bgp/test_traffic_shift_sup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,10 @@ def test_TSA_TSB_chassis_with_config_reload(self, duthosts, enum_supervisor_dut_
self.run_cmd_on_sup("sudo TSB")
# Verify DUT is in normal state.
self.verify_traffic_shift_state_all_lcs(TS_NORMAL, "normal")

# Save config and perform config reload on all LCs
self.run_cmd_on_sup("rexec all -c 'sudo config save -y'")
self.config_reload_all_lcs()

# Verify DUT is in normal state.
self.verify_traffic_shift_state_all_lcs(TS_NORMAL, "normal")

0 comments on commit e73becc

Please sign in to comment.