Skip to content

Commit

Permalink
watch the functional test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
salonichf5 committed Mar 12, 2024
1 parent edee698 commit 733baf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ test: ## Runs the functional tests on your default k8s cluster
--gateway-api-prev-version=$(GW_API_PREV_VERSION) --image-tag=$(TAG) --version-under-test=$(NGF_VERSION) \
--plus-enabled=$(PLUS_ENABLED) --ngf-image-repo=$(PREFIX) --nginx-image-repo=$(NGINX_PREFIX) \
--pull-policy=$(PULL_POLICY) --k8s-version=$(K8S_VERSION) --service-type=$(GW_SERVICE_TYPE) \
--is-gke-internal-lb=$(GW_SVC_GKE_INTERNAL)
--is-gke-internal-lb=$(GW_SVC_GKE_INTERNAL) --ginkgo.vv

.PHONY: test-with-plus
test-with-plus: ## Runs the functional tests for NGF with NGINX Plus on your default k8s cluster
Expand Down
2 changes: 2 additions & 0 deletions tests/suite/sample_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ var _ = Describe("Basic test example", Label("functional"), func() {
url = fmt.Sprintf("http://hello.example.com:%s/hello", strconv.Itoa(portFwdPort))
}
status, body, err := framework.Get(url, address, timeoutConfig.RequestTimeout)
fmt.Println("GET status", status)
fmt.Println("GET body", body)
Expect(err).ToNot(HaveOccurred())
Expect(status).To(Equal(http.StatusOK))
Expect(body).To(ContainSubstring("URI: /hello"))
Expand Down

0 comments on commit 733baf4

Please sign in to comment.