summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_snmp_host/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_snmp_host/tests/common')
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_trap.yaml2
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_trap.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_trap.yaml
index 845fc86552..01684c1c53 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_trap.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_trap.yaml
@@ -6,7 +6,7 @@
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
- when: not (platform | match("N5K"))
+ when: not (platform is match("N5K"))
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
index ea6276e4fc..a1010d77a2 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
@@ -7,7 +7,7 @@
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
- when: not (platform | match("N5K"))
+ when: not (platform is match("N5K"))
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
@@ -51,7 +51,7 @@
that:
- "result.changed == false"
- when: not (platform | match('N35'))
+ when: not (platform is match('N35'))
always:
- name: Cleanup