From 19b1361184427bbc126b4e223bee63c643a8bd4f Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Fri, 4 Aug 2017 13:38:59 +0200 Subject: [PATCH] Remove assert that junos command xml contains inventory_hostname_short (#27754) The test assumes the node has the hostname set as the inventory_hostname_short. That's not the case in our CI, we the inventory_hostname is a UUID, returned by the openstack dynamic inventory. --- .../targets/junos_command/tests/netconf_xml/contains.yaml | 1 - 1 file changed, 1 deletion(-) 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 264d5acb511..b959e3af089 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml @@ -8,7 +8,6 @@ - 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 lo0" provider: "{{ netconf }}" register: result