product-microgateway
product-microgateway copied to clipboard
[int-tests] Tests continues to run for awhile if the adapter fails during startup
Description:
When the adapter does not start properly and ends with a 404, the enforcer keeps retrying. Usually when this happens locally we run docker-compose down
and then run a docker-compose up
again.
[docker-java-stream-925264754] INFO Adapter - STDOUT: 2022-07-15 09:59:41 INFO [subscription.go:152] - [eventhub.LoadSubscriptionData.func1] [-] Retrying to fetch APIs from control plane. Time Duration for the next retry: 5s []
[docker-java-stream-925264754] INFO Adapter - STDOUT: 2022-07-15 09:59:41 ERRO [subscription.go:277] - [eventhub.InvokeService] [-] Failed to fetch data! https://apim:9444/internal/data/v1/subscriptions responded with 404%!(EXTRA <nil>) [severity=Default error_code=0]
Steps to reproduce:
Affected Product Version:
Environment details (with versions):
- OS:
- Client:
- Env (Docker/K8s):