Skip to content
Merged
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
2 changes: 2 additions & 0 deletions ansible/roles/test/tasks/fdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@
command: "pgrep -f '/usr/bin/python /usr/bin/ptf'"
register: ptf_script_pid
delegate_to: "{{ ptf_host }}"
ignore_errors: yes

- name: Wait until the PTF script completed execution
shell: "tail --pid={{ ptf_script_pid.stdout }} -f /dev/null"
delegate_to: "{{ ptf_host }}"
when: ptf_script_pid.rc == 0

- name: Wait some extra time to ensure that all FDB entries are in DB
pause: seconds=10
Expand Down