diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2017-08-04 21:17:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 21:17:32 +0200 |
commit | 02bcd7c0ed07f17b3e6ea0f26271551059bbd176 (patch) | |
tree | 28e856f83e618de1b88f5ddcb8b0c6885bc215b9 /test/integration/targets/junos_netconf | |
parent | iso_extract: Reimplement using 7zip (not requiring root) (#24937) (diff) | |
download | ansible-02bcd7c0ed07f17b3e6ea0f26271551059bbd176.tar.xz ansible-02bcd7c0ed07f17b3e6ea0f26271551059bbd176.zip |
Fix for junos_netconf test failures in dci (#27776)
Diffstat (limited to 'test/integration/targets/junos_netconf')
-rw-r--r-- | test/integration/targets/junos_netconf/tests/cli/changeport.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml index 80599c0cbf..a37254c550 100644 --- a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml +++ b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml @@ -32,9 +32,14 @@ that: - "result.changed == false" +- name: wait for persistent socket to timeout, this ensures new socket creation with connection type netconf + pause: + seconds: 30 + - name: Ensure we can communicate over 22 junos_command: - rpcs: get-software-information + rpcs: + - get-software-information provider: "{{ netconf }}" port: 22 @@ -59,7 +64,8 @@ - name: Ensure we can communicate over netconf junos_command: - rpcs: get-software-information + rpcs: + - get-software-information provider: "{{ netconf }}" - debug: msg="END netconf/changeport.yaml" |