diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2020-10-30 15:09:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 15:09:30 +0100 |
commit | cb94c0cc550df9e98f1247bc71d8c2b861c75049 (patch) | |
tree | af18f9fc7edb939e214b6a3070da2ce2449222ab /test/units | |
parent | find will give more specific reasons on skip (#68823) (diff) | |
download | ansible-cb94c0cc550df9e98f1247bc71d8c2b861c75049.tar.xz ansible-cb94c0cc550df9e98f1247bc71d8c2b861c75049.zip |
added timeout options to adhoc and console (#71230)
* added timeout options to adhoc and console
* added test
* fix typosesz
* fix conflict
* task_timeout
* fix timeout option, added extra vars to console
* actually use right cli switch .. DUH!
* added timeout to include 'valid' but ignored keys
* fix default
* fixes per review
Diffstat (limited to 'test/units')
-rw-r--r-- | test/units/cli/test_adhoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/cli/test_adhoc.py b/test/units/cli/test_adhoc.py index 2697e8a41f..b0f30ea243 100644 --- a/test/units/cli/test_adhoc.py +++ b/test/units/cli/test_adhoc.py @@ -63,7 +63,7 @@ def test_play_ds_positive(): adhoc_cli.parse() ret = adhoc_cli._play_ds('command', 10, 2) assert ret['name'] == 'Ansible Ad-Hoc' - assert ret['tasks'] == [{'action': {'module': 'command', 'args': {}}, 'async_val': 10, 'poll': 2}] + assert ret['tasks'] == [{'action': {'module': 'command', 'args': {}}, 'async_val': 10, 'poll': 2, 'timeout': 0}] def test_play_ds_with_include_role(): |