Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ansible/config_sonic_basedon_testbed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,11 @@

when: "'dualtor-mixed' in topo or 'dualtor-aa' in topo"

- name: execute "TSB" on T2 DUTs
become: True
shell: "TSB"
when: "'t2' in topo"

- name: execute cli "config save -y" to save current minigraph as startup-config
become: true
shell: config save -y
Expand Down
1 change: 1 addition & 0 deletions tests/test_pretest.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ def test_disable_startup_tsa_tsb_service(duthosts, localhost):
duthost.shell("sudo mv {} {}".format(startup_tsa_tsb_file_path, backup_tsa_tsb_file_path))
output = duthost.shell("TSB", module_ignore_errors=True)
pytest_assert(not output['rc'], "Failed TSB")
duthost.shell("sudo config save -y")
else:
logger.info("{} file does not exist in the specified path on dut {}".
format(startup_tsa_tsb_file_path, duthost.hostname))
Expand Down