Closed asoorm closed 4 years ago
This looks like intended functionality:
time="Nov 02 13:28:37" level=info msg="Found unused listener at port 8000, shutting down" prefix=main
Closing because it is intended functionality with the Gateway
This looks like a Gateway bug, however after investigation & resolution, we may need to remove the workaround in the tests.
This occurs with Tyk Pro, not Tyk CE. And the control port needs to be different to the proxy port.
If I create an API - e.g. httpbin, then delete it - I expected to get back a 404 not found when requesting the API. Rather, the gateway seems to stop listening on the port entirely.
Maybe this is desired behaviour - however it seems that Tyk CE acts differently. returning a 404 not found.
https://github.com/TykTechnologies/tyk-operator/blob/master/bdd/godogs_test.go#L128-L136