From f806a58a5e3d8089ba2bb68cd45edfa0233cc975 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 --- .../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 981d48d705f..15e594f6c4e 100644 --- a/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml +++ b/test/integration/targets/nxos_udld_interface/tests/common/sanity.yaml @@ -56,6 +56,12 @@ - assert: *true + - name: "Conf2 Idempotence" + nxos_udld_interface: *conf2 + register: result + + - assert: *false + - name: Remove the config nxos_udld_interface: &remove interface: "{{ intname }}"