mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-05 08:00:22 -07:00
Miscellaneous ansible-test updates. (#27937)
* Add keep alives to ansible-test ssh delegation. * Improve ansible-test JSON parsing error messages. * Increase ansible-test delegation sleep and retry. * Update ansible-test to recognize .psm1 files.
This commit is contained in:
parent
875c8e4f3e
commit
a40cb5a47f
4 changed files with 24 additions and 9 deletions
|
@ -181,7 +181,7 @@ class AnsibleCoreCI(object):
|
|||
|
||||
raise self._create_http_error(response)
|
||||
|
||||
def get(self, tries=2, sleep=10, always_raise_on=None):
|
||||
def get(self, tries=3, sleep=15, always_raise_on=None):
|
||||
"""
|
||||
Get instance connection information.
|
||||
:type tries: int
|
||||
|
@ -290,8 +290,8 @@ class AnsibleCoreCI(object):
|
|||
'Content-Type': 'application/json',
|
||||
}
|
||||
|
||||
tries = 2
|
||||
sleep = 10
|
||||
tries = 3
|
||||
sleep = 15
|
||||
|
||||
while True:
|
||||
tries -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue