Skip to content

Commit

Permalink
PFC wd warm-reboot: Ensure default pfc wd config is used for warm-reb…
Browse files Browse the repository at this point in the history
…oot test (#1179)

* Ensure default pfc wd config is used for warm-reboot test

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Address comment: change default_pfcwd_status to enable to start default
pfc wd config

Signed-off-by: Wenda Ni <wenni@microsoft.com>
  • Loading branch information
wendani authored Oct 29, 2019
1 parent 37e724c commit 76512b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/test/tasks/pfc_wd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@
when: warm_reboot_test | bool == false

- block:
- name: Set to default PFC WD config for warm-reboot test
shell: bash -c 'redis-cli -n 4 hset "DEVICE_METADATA|localhost" default_pfcwd_status enable; sudo pfcwd stop; sleep 5; sudo pfcwd start_default'

- name: Test PFC WD function against warm reboot
include: roles/test/tasks/pfc_wd/functional_test/functional_test_warm_reboot.yml
when: warm_reboot_test | bool == true
Expand Down

0 comments on commit 76512b5

Please sign in to comment.