From 968e048b0d2091a23efd6355b90cf7c0f536ec10 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Thu, 18 Jan 2018 10:40:01 +0530 Subject: [PATCH] Idempotency test for enabled mode nxos_udld_interface (#35031) Signed-off-by: Trishna Guha (cherry picked from commit f806a58a5e3d8089ba2bb68cd45edfa0233cc975) --- .../targets/nxos_udld_interface/tests/common/sanity.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml b/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml index 0db8aa4a9be..8afae43c7ec 100644 --- a/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml +++ b/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml @@ -54,6 +54,12 @@ - assert: *true + - name: "Conf2 Idempotence" + nxos_udld_interface: *conf2 + register: result + + - assert: *false + - name: Remove the config nxos_udld_interface: &remove interface: "{{ intname }}"