From 4d6751bf160e2d5a3b1985579a52bc6ab0494859 Mon Sep 17 00:00:00 2001 From: Chris Piraino Date: Mon, 11 May 2020 14:46:31 -0500 Subject: [PATCH] Fix TestInternal_GatewayServiceDump_Ingress (#7840) Protocol was added as a field on GatewayServices after GatewayServiceDump PR branch was created. --- agent/consul/internal_endpoint_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agent/consul/internal_endpoint_test.go b/agent/consul/internal_endpoint_test.go index 1b5c03e2b9..2ede0f7a3a 100644 --- a/agent/consul/internal_endpoint_test.go +++ b/agent/consul/internal_endpoint_test.go @@ -1624,6 +1624,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) { Service: structs.ServiceID{ID: "db"}, GatewayKind: "ingress-gateway", Port: 8888, + Protocol: "tcp", }, }, { @@ -1655,6 +1656,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) { Service: structs.ServiceID{ID: "db"}, GatewayKind: "ingress-gateway", Port: 8888, + Protocol: "tcp", }, }, { @@ -1664,6 +1666,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) { Service: structs.ServiceID{ID: "web"}, GatewayKind: "ingress-gateway", Port: 8080, + Protocol: "tcp", }, }, }