mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 06:19:10 -07:00
Fix eos integration test failure (#33407)
Fixes #33406 Fixes #33405 * Fix typo in network_cli for sendonly * Send `abort` to remote device in case configuration fails * Fix indentation issue in eos_static_route integration test * Revert network_cli change
This commit is contained in:
parent
d7ca068c3f
commit
35acae7ea7
4 changed files with 7 additions and 7 deletions
|
@ -195,6 +195,7 @@ class Cli:
|
|||
|
||||
rc, out, err = self.send_config(commands)
|
||||
if rc != 0:
|
||||
self.exec_command('abort')
|
||||
self._module.fail_json(msg=to_text(err, errors='surrogate_then_replace'))
|
||||
|
||||
self.exec_command('end')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue