Skip to content

Commit

Permalink
test wip fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Jan 9, 2025
1 parent f5b2c37 commit c0ebfc8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions vendor/knative.dev/networking/test/conformance/ingress/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ func CreateProxyService(ctx context.Context, t *testing.T, clients *test.Clients
Env: []corev1.EnvVar{{
Name: "TARGET_HOST",
Value: target,
}, {
Name: "GATEWAY_HOST",
Value: gatewayDomain,
}, {
Name: "PORT",
Value: strconv.Itoa(containerPort),
Expand Down Expand Up @@ -306,13 +309,7 @@ func CreateProxyService(ctx context.Context, t *testing.T, clients *test.Clients
},
}
proxyServiceCancel := createPodAndService(ctx, t, clients, pod, svc)

externalNameServiceCancel := createExternalNameService(ctx, t, clients, target, gatewayDomain)

return name, port, func() {
externalNameServiceCancel()
proxyServiceCancel()
}
return name, port, proxyServiceCancel
}

// CreateTimeoutService creates a Kubernetes service that will respond to the protocol
Expand Down

0 comments on commit c0ebfc8

Please sign in to comment.