After Predator starts, check the INTERNAL_ADDRESS is accessible #423
Labels
1.6.0
backend
enhancement
New feature or request
good first issue
Good for newcomers
Hacktoberfest
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
Predator is spinning up predator-runners using k8s/dcos/docker-engine
Predator passes to its predator-runners 'INTERNAL_ADDRESS' where the runners can reach Predator
If this address is unreachable, tests will fail to start.
Describe the solution you'd like
It would be good to test this address when the Predator service starts.
it should be tested straight away after the app is listening.
I suggest calling 'INTERNAL_ADDRESS' which is usually http://:/v1
by removing /v1 and adding /health
GET http://:/health
If the response is not 200, Predator should not start and throw error explaining the issue.
Some more info about INTERNAL_ADDRESS
https://zooz.github.io/predator/installation.html#docker
The text was updated successfully, but these errors were encountered: