From 3f73dd9572800044422e418028da082de01bacf6 Mon Sep 17 00:00:00 2001 From: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:10:25 +0100 Subject: [PATCH] add debug options for curl test Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com> --- .github/workflows/lint-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 949e0d5644fa5..d21d457be99f3 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -70,6 +70,7 @@ jobs: run: | kubectl -n ns-vllm port-forward service/test-vllm-service 8001:80 & sleep 10 + (kubectl -n ns-vllm logs -f $(kubectl -n ns-vllm get pods -o name | awk '/deployment/ {print $1;exit}')) & curl -v --fail-with-body --show-error --location http://localhost:8001/v1/completions \ --header "Content-Type: application/json" \ --data '{ @@ -78,7 +79,6 @@ jobs: "max_tokens": 7, "temperature": 0 }' - (kubectl -n ns-vllm logs -f $(kubectl -n ns-vllm get pods -o name | awk '/deployment/ {print $1;exit}')) CODE="$(curl -v -f --location http://localhost:8001/v1/completions \ --header "Content-Type: application/json" \ --data '{