From 94748e172845eadfb88da346d1b71e4daac88c44 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Wed, 2 Aug 2017 15:18:13 +0530 Subject: [PATCH] Fix junos_command test failure (#27627) Add a loopback interface check instead of device specific management interface --- .../targets/junos_command/tests/netconf_xml/contains.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml b/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml index 6a507cafc2d..264d5acb511 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml @@ -5,11 +5,11 @@ junos_command: commands: - show version - - show interfaces fxp0 + - show interfaces lo0 format: xml wait_for: - "result[0].rpc-reply.software-information.host-name contains {{ inventory_hostname_short }}" - - "result[1].rpc-reply.interface-information.physical-interface.name contains fxp0" + - "result[1].rpc-reply.interface-information.physical-interface.name contains lo0" provider: "{{ netconf }}" register: result