diff --git a/test/integration/connect/envoy/case-terminating-gateway-hostnames/verify.bats b/test/integration/connect/envoy/case-terminating-gateway-hostnames/verify.bats index 82078ae89c..af76cb426b 100644 --- a/test/integration/connect/envoy/case-terminating-gateway-hostnames/verify.bats +++ b/test/integration/connect/envoy/case-terminating-gateway-hostnames/verify.bats @@ -33,5 +33,7 @@ load helpers } @test "terminating-gateway adds the Host header for connection to s3" { - assert_expected_fortio_host_header "localhost:8382" localhost 5000 + # Envoy does not rewrite the port + # See https://github.com/envoyproxy/envoy/pull/504#discussion_r102614466 + assert_expected_fortio_host_header "localhost" localhost 5000 }