Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acceptance: fix connection failing error (hashicorp#920)
With the introduction of tproxy, the errors when a connection fail include the KubeDNS names, for example: ``` curl: (7) Failed to connect to test-er1l1u-consul-ingress-gateway.default port 8080: Connection refused ``` Rather than match on the name it's connecting to, we can instead rely on the "curl: (7) Failed to connect" part of the string since error code 7 is always a connection refused error and that's all we're really testing. This is the specific test that was failing: https://app.circleci.com/pipelines/github/hashicorp/consul-helm/2850/workflows/f145253b-2068-47d4-a427-b1ad7be6275c/jobs/11011. I think it only passed before because it must have been getting "curl: (52) Empty reply from server".
- Loading branch information