diff --git a/conformance/tests/httproute-invalid-reference-policy.go b/conformance/tests/httproute-invalid-reference-policy.go index dcbee1517a..13af59e702 100644 --- a/conformance/tests/httproute-invalid-reference-policy.go +++ b/conformance/tests/httproute-invalid-reference-policy.go @@ -64,7 +64,7 @@ var HTTPRouteInvalidReferencePolicy = suite.ConformanceTest{ t.Run("Gateway should have 0 Routes attached", func(t *testing.T) { gw := &v1alpha2.Gateway{} - err := suite.Client.Get(context.TODO(), gwName, gw) + err := suite.Client.Get(context.TODO(), gwNN, gw) require.NoError(t, err, "error fetching Gateway") // There are two valid ways to represent this: // 1. No listeners in status diff --git a/conformance/tests/httproute-missing-reference-policy.go b/conformance/tests/httproute-missing-reference-policy.go index 4825fddf9a..99e062201a 100644 --- a/conformance/tests/httproute-missing-reference-policy.go +++ b/conformance/tests/httproute-missing-reference-policy.go @@ -64,7 +64,7 @@ var HTTPRouteMissingReferencePolicy = suite.ConformanceTest{ t.Run("Gateway should have 0 Routes attached", func(t *testing.T) { gw := &v1alpha2.Gateway{} - err := suite.Client.Get(context.TODO(), gwName, gw) + err := suite.Client.Get(context.TODO(), gwNN, gw) require.NoError(t, err, "error fetching Gateway") // There are two valid ways to represent this: // 1. No listeners in status