From dc2dd97e7dc7a62286b3b1ac45514a03b72e9b65 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Thu, 12 Sep 2019 12:16:00 -0400 Subject: [PATCH] [stable-2.9] fix nxos_config tests for httpapi (#62082) * fix nxos_config tests for httpapi * Remove become parameter (cherry picked from commit c4894b512d17e479595d17cb525f6b69e90f3c2c) --- test/integration/targets/nxos_config/tasks/nxapi.yaml | 6 ------ .../targets/nxos_config/tests/common/backup.yaml | 3 --- 2 files changed, 9 deletions(-) diff --git a/test/integration/targets/nxos_config/tasks/nxapi.yaml b/test/integration/targets/nxos_config/tasks/nxapi.yaml index 04c99602e6b..cbf41b92947 100644 --- a/test/integration/targets/nxos_config/tasks/nxapi.yaml +++ b/test/integration/targets/nxos_config/tasks/nxapi.yaml @@ -25,9 +25,3 @@ with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run - -- name: run test cases (connection=local) - include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}" - with_items: "{{ test_items }}" - loop_control: - loop_var: test_case_to_run diff --git a/test/integration/targets/nxos_config/tests/common/backup.yaml b/test/integration/targets/nxos_config/tests/common/backup.yaml index 6a807d139d6..327c92e3040 100644 --- a/test/integration/targets/nxos_config/tests/common/backup.yaml +++ b/test/integration/targets/nxos_config/tests/common/backup.yaml @@ -66,7 +66,6 @@ backup_options: filename: backup.cfg dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}" - become: yes register: result - assert: @@ -88,7 +87,6 @@ backup: yes backup_options: filename: backup.cfg - become: yes register: result - assert: @@ -110,7 +108,6 @@ backup: yes backup_options: dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}" - become: yes register: result - assert: