Skip to content

Commit

Permalink
test(gateways): remove EOF check
Browse files Browse the repository at this point in the history
in CI this seems to sometimes be 'connection reset by peer' instead
  • Loading branch information
mikemorris committed Feb 27, 2023
1 parent 81e2ac2 commit a596dbf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func TestHTTPRouteParentRefChange(t *testing.T) {
// check that second gateway does not resolve service
checkRouteError(t, address, gatewayTwoPort, "", map[string]string{
"Host": "test.example",
}, "EOF")
}, "")

// swtich route target to second gateway
route.Parents = []api.ResourceReference{
Expand Down Expand Up @@ -465,5 +465,5 @@ func TestHTTPRouteParentRefChange(t *testing.T) {
// check that first gateway has stopped resolving service
checkRouteError(t, address, gatewayOnePort, "", map[string]string{
"Host": "test.foo",
}, "EOF")
}, "")
}

0 comments on commit a596dbf

Please sign in to comment.