diff --git a/jobspec/parse_test.go b/jobspec/parse_test.go index 4603b0a61..9e8171421 100644 --- a/jobspec/parse_test.go +++ b/jobspec/parse_test.go @@ -1563,6 +1563,7 @@ func TestParse(t *testing.T) { "listener2": {Name: "listener2", Address: "10.0.0.2", Port: 8889}, }, EnvoyGatewayNoDefaultBind: true, + EnvoyDNSDiscoveryType: "LOGICAL_DNS", Config: map[string]interface{}{"foo": "bar"}, }, Terminating: &api.ConsulTerminatingConfigEntry{ diff --git a/jobspec/test-fixtures/tg-service-connect-gateway-terminating.hcl b/jobspec/test-fixtures/tg-service-connect-gateway-terminating.hcl index 82a8bfec0..24e0f8aec 100644 --- a/jobspec/test-fixtures/tg-service-connect-gateway-terminating.hcl +++ b/jobspec/test-fixtures/tg-service-connect-gateway-terminating.hcl @@ -20,6 +20,7 @@ job "connect_gateway_terminating" { } envoy_gateway_no_default_bind = true + envoy_dns_discovery_type = "LOGICAL_DNS" config { foo = "bar"