diff --git a/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml b/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml index eeb2206ebe..3478ed50a4 100644 --- a/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml +++ b/test/integration/targets/nxos_interface/tests/cli/set_state_present.yaml @@ -6,6 +6,7 @@ lines: - no interface Loopback1 provider: "{{ cli }}" + ignore_errors: yes # Fails if the interface is already absent - name: set state=present nxos_interface: diff --git a/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml b/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml index c2f30b7e05..82d6afd76c 100644 --- a/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml +++ b/test/integration/targets/nxos_interface/tests/nxapi/set_state_present.yaml @@ -6,6 +6,7 @@ lines: - no interface Loopback1 provider: "{{ nxapi }}" + ignore_errors: yes # Fails if the interface is already absent - name: set state=present nxos_interface: