summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_command/tests/nxapi/negative.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_command/tests/nxapi/negative.yaml')
-rw-r--r--test/integration/targets/nxos_command/tests/nxapi/negative.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_command/tests/nxapi/negative.yaml b/test/integration/targets/nxos_command/tests/nxapi/negative.yaml
new file mode 100644
index 0000000000..3763f958e6
--- /dev/null
+++ b/test/integration/targets/nxos_command/tests/nxapi/negative.yaml
@@ -0,0 +1,27 @@
+---
+- debug: msg="START nxapi/negative.yaml"
+
+- name: run 11 commands
+ nxos_command:
+ commands:
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ - show version
+ provier: "{{ nxapi }}"
+ ignore_errors: yes
+ register: result
+
+- assert:
+ that:
+ - result.failed
+
+
+- debug: msg="END nxapi/negative.yaml"