diff --git a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml index 0d8ad9f02db..52c5c2ebb71 100644 --- a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml +++ b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml @@ -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: diff --git a/test/integration/targets/junos_netconf/tests/cli/netconf.yaml b/test/integration/targets/junos_netconf/tests/cli/netconf.yaml index fbc0fe3bb6e..e22834d2b05 100644 --- a/test/integration/targets/junos_netconf/tests/cli/netconf.yaml +++ b/test/integration/targets/junos_netconf/tests/cli/netconf.yaml @@ -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 diff --git a/test/integration/targets/prepare_junos_tests/tasks/main.yml b/test/integration/targets/prepare_junos_tests/tasks/main.yml index 91d8baad2d4..21157493d66 100644 --- a/test/integration/targets/prepare_junos_tests/tasks/main.yml +++ b/test/integration/targets/prepare_junos_tests/tasks/main.yml @@ -7,3 +7,7 @@ - name: Ensure netconf is enabled junos_netconf: state: present + +- name: wait for netconf server to come up + pause: + seconds: 10