From 6a6bcb6749b16f54cee38d11854e4ffcc5d4d2aa Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Sat, 5 Aug 2017 17:49:48 +0200 Subject: [PATCH] Fix junos_command netconf_xml notequal asserts (#27806) --- .../targets/junos_command/tests/netconf_xml/notequal.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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