diff --git a/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml b/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml index 071ea5bcf20..a4f1040525b 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml @@ -8,7 +8,7 @@ - show interfaces lo0 format: xml wait_for: - - "result[0].rpc-reply.software-information.host-name neq localhost" + - "result[1].rpc-reply.interface-information.physical-interface.name neq em0" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces lo0 format: xml wait_for: - - "result[0].rpc-reply.software-information.host-name != localhost" + - "result[1].rpc-reply.interface-information.physical-interface.name neq em0" provider: "{{ netconf }}" register: result