From 3fd9c46828a3be24835d75be1a79c645e9261e4c Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Thu, 24 May 2018 12:00:04 +0530 Subject: [PATCH] fix nxos_system test (#40643) Signed-off-by: Trishna Guha --- .../targets/nxos_system/tests/common/set_hostname.yaml | 4 ++-- .../targets/nxos_system/tests/nxapi/net_system.yaml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml index 9ff1840da4..9509d60b57 100644 --- a/test/integration/targets/nxos_system/tests/common/set_hostname.yaml +++ b/test/integration/targets/nxos_system/tests/common/set_hostname.yaml @@ -6,7 +6,7 @@ - block: - name: setup nxos_config: - lines: "hostname {{ inventory_hostname_short }}" + lines: "hostname switch" match: none - name: configure hostname @@ -30,7 +30,7 @@ always: - name: teardown nxos_config: - lines: "hostname {{ inventory_hostname_short }}" + lines: "hostname switch" match: none diff --git a/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml b/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml index 06bd8609a4..e7810f7fc5 100644 --- a/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml +++ b/test/integration/targets/nxos_system/tests/nxapi/net_system.yaml @@ -1,6 +1,5 @@ --- - debug: msg="START nxos nxapi/net_system.yaml on connection={{ ansible_connection }}" -- debug: msg="Using provider={{ connection.transport }}" # Add minimal testcase to check args are passed correctly to # implementation module and module run is successful.