From 870d8bf10b4050ef4632278951008462fb99d630 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Thu, 6 Jun 2019 00:05:30 -0400 Subject: [PATCH] Fix nxos_vtp_version test (#57358) --- .../targets/nxos_vtp_version/tests/common/sanity.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/nxos_vtp_version/tests/common/sanity.yaml b/test/integration/targets/nxos_vtp_version/tests/common/sanity.yaml index 08814d60330..d73aaaa9a16 100644 --- a/test/integration/targets/nxos_vtp_version/tests/common/sanity.yaml +++ b/test/integration/targets/nxos_vtp_version/tests/common/sanity.yaml @@ -21,6 +21,11 @@ provider: "{{ connection }}" state: enabled + - name: configure supporting vtp domain + nxos_vtp_domain: + domain: foo + provider: "{{ connection }}" + - name: configure vtp version nxos_vtp_version: &configure version: 2 @@ -30,7 +35,7 @@ - assert: &true that: - "result.changed == true" - + - name: "Conf Idempotence" nxos_vtp_version: *configure register: result @@ -39,7 +44,7 @@ that: - "result.changed == false" - when: vtp_run + when: vtp_run | bool always: - name: disable feature vtp