[package testing] Stabilize status api test (#129228)

There appears to be a brief moment after kibana starts where we are
listening for http connections but immediately closing requests to the
status API.  The return code by ansible here is -1, so this adds that as
a valid response to retry.
This commit is contained in:
Jonathan Budzenski 2022-04-01 13:45:21 -05:00 committed by GitHub
parent 96ab9bb257
commit f2654802a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,6 @@
status_code: [200, 401]
timeout: 120
register: result
until: result.status != 503
until: result.status not in [503, -1]
retries: 3
delay: 30