Add delay in junos integration test after netconf is enabled (#33899)

junos integration test fails intermittently after task enables netconf
 on the remote host and the second task tries to create a persistent
 connection. Add a delay after the first task to ensure netconf is up
 running on remote host.
pull/32781/head
Ganesh Nalawade 7 years ago committed by GitHub
parent 6f77a32b13
commit 53abf45cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,6 @@
state: present
register: result
###################################
- name: Change port
junos_netconf:
@ -29,6 +28,10 @@
that:
- "result.changed == false"
- name: wait for netconf server to come up
pause:
seconds: 10
- name: Ensure we can communicate over 8022
junos_command:
rpcs:

@ -18,6 +18,10 @@
###################################
- name: wait for netconf server to come up
pause:
seconds: 10
- name: Ensure we can communicate over netconf
junos_command:
rpcs: get-software-information

@ -7,3 +7,7 @@
- name: Ensure netconf is enabled
junos_netconf:
state: present
- name: wait for netconf server to come up
pause:
seconds: 10

Loading…
Cancel
Save