diff --git a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml index a37254c550..1822b53894 100644 --- a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml +++ b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml @@ -56,6 +56,10 @@ - "result.failed == true" - "'unable to open shell' in result.msg" +- name: wait for persistent socket to timeout, this ensures new socket creation with connection type netconf + pause: + seconds: 30 + - name: Set back netconf to default port junos_netconf: state: present