Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
there is check pfc_wd poll_time <= pfc_wd_detection/restoration_time.
So make sure in testscript before setting poll interval stop
pfc wd if enable by default because default detection/restoration time
can be < poll time interval making script failure.
  • Loading branch information
abdosi authored Jun 23, 2020
1 parent aa864a9 commit 6715c73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/test/tasks/pfc_wd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
pfc_wd_restore_time_large: 3000
pfc_wd_poll_time: 400

- name: Stop PFC watchdog if enable by default before setting poll interval.
shell: "pfcwd stop"
become: yes

- name: Set polling interval {{ pfc_wd_poll_time }}.
shell: "pfcwd interval {{ pfc_wd_poll_time }}"
become: yes
Expand Down

0 comments on commit 6715c73

Please sign in to comment.