mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user