Make sure non-unit tests are run against the correct Ingress endpoint on Minikube
Expected Behavior
I'm able to run non-unit tests on my local minikube deployment.
Actual Behavior
The tests are failing due to the fact that Istio uses a non-standard http port on minikube.
Steps to Reproduce the Problem
- Deploy serving on minikube - https://github.com/knative/docs/blob/master/install/Knative-with-Minikube.md
- Create the namespace
kubectl create namespace serving-tests
- Publish the docker images:
ko publish -B github.com/knative/serving/test/test_images/pizzaplanetv1
- Run the test
go test -race -v -tags=preupgrade -count=1 -timeout=10m ./
- See the failure:
--- FAIL: TestRunLatestServicePreUpgrade (7.11s)
upgrade.go:52: The endpoint for Route pizzaplanet-upgrade-service at domain pizzaplanet-upgrade-service.serving-tests.example.com didn't serve the expected text "What a spaceport!": Expected exactly one ingress load balancer, instead had 0: []
FAIL
Additional Info
/assign /milestone 0.4
@vvraskin: You must be a member of the knative/knative-milestone-maintainers github team to set the milestone.
In response to this:
/assign /milestone 0.4
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Leave this open until https://github.com/knative/pkg/pull/143 lands
/milestone 0.4
@mattmoor: The provided milestone is not valid for this repository. Milestones in this repository: [Ice Box, Needs Triage, Serving "v1" (ready for production), Serving 0.4]
Use /milestone clear to clear the milestone.
In response to this:
/milestone 0.4
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/milestone Serving 0.4
I'm going to move this out of 0.4 due to the state of the PR :(