open-consul/test/integration/connect/envoy/case-centralconf/service_s2.hcl
R.B. Boyer adff2316c9
test: use direct service registration in envoy integration tests (#9138)
This has the biggest impact on enterprise test cases that use namespaced
registrations, which prior to this change sometimes failed the initial
registration because the namespace was not yet created.
2020-11-09 13:59:46 -06:00

17 lines
485 B
HCL

services {
name = "s2"
port = 8181
connect {
sidecar_service {
proxy {
config {
# We need to override this because both proxies run in same network
# namespace and so it's non-deterministic which one manages to bind
# the 1234 port first. This forces the issue here while still testing
# that s1's proxy is configured from global config.
envoy_prometheus_bind_addr = "0.0.0.0:2345"
}
}
}
}
}