mirror of https://github.com/hashicorp/consul
Fix TestInternal_GatewayServiceDump_Ingress (#7840)
Protocol was added as a field on GatewayServices after GatewayServiceDump PR branch was created.pull/7841/head
parent
7414a3fa53
commit
4d6751bf16
|
@ -1624,6 +1624,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) {
|
||||||
Service: structs.ServiceID{ID: "db"},
|
Service: structs.ServiceID{ID: "db"},
|
||||||
GatewayKind: "ingress-gateway",
|
GatewayKind: "ingress-gateway",
|
||||||
Port: 8888,
|
Port: 8888,
|
||||||
|
Protocol: "tcp",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1655,6 +1656,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) {
|
||||||
Service: structs.ServiceID{ID: "db"},
|
Service: structs.ServiceID{ID: "db"},
|
||||||
GatewayKind: "ingress-gateway",
|
GatewayKind: "ingress-gateway",
|
||||||
Port: 8888,
|
Port: 8888,
|
||||||
|
Protocol: "tcp",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1664,6 +1666,7 @@ func TestInternal_GatewayServiceDump_Ingress(t *testing.T) {
|
||||||
Service: structs.ServiceID{ID: "web"},
|
Service: structs.ServiceID{ID: "web"},
|
||||||
GatewayKind: "ingress-gateway",
|
GatewayKind: "ingress-gateway",
|
||||||
Port: 8080,
|
Port: 8080,
|
||||||
|
Protocol: "tcp",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue