Skip to content

Commit

Permalink
Merge 01a563d into backport/net-5104-envoy-port-mapping/supposedly-re…
Browse files Browse the repository at this point in the history
…fined-mutt
  • Loading branch information
hc-github-team-consul-core authored Aug 8, 2023
2 parents b9a3790 + 01a563d commit 4a40cbc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions control-plane/api-gateway/binding/validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,14 @@ func TestValidateListeners(t *testing.T) {
expectedAcceptedErr: errListenerPortUnavailable,
},
"conflicted port": {
listeners: []gwv1beta1.Listener{
{Protocol: gwv1beta1.TCPProtocolType, Port: 80},
{Protocol: gwv1beta1.TCPProtocolType, Port: 80},
},
expectedAcceptedErr: errListenerPortUnavailable,
listenerIndexToTest: 1,
},
"conflicted mapped port": {
listeners: []gwv1beta1.Listener{
{Protocol: gwv1beta1.TCPProtocolType, Port: 80},
{Protocol: gwv1beta1.TCPProtocolType, Port: 2080},
Expand Down

0 comments on commit 4a40cbc

Please sign in to comment.