From 733baf4218347c6a1b0bc6465d44cc99f87d576f Mon Sep 17 00:00:00 2001 From: salonichf5 <146118978+salonichf5@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:13:51 -0600 Subject: [PATCH] watch the functional test pipeline --- tests/Makefile | 2 +- tests/suite/sample_test.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index b3da3d96cc..c8ab8f84f8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 diff --git a/tests/suite/sample_test.go b/tests/suite/sample_test.go index 3996c67646..fe8442b1e4 100644 --- a/tests/suite/sample_test.go +++ b/tests/suite/sample_test.go @@ -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"))