diff --git a/.github/workflows/test-haproxy-ingress.yml b/.github/workflows/test-haproxy-ingress.yml index 14fa1ec..c0675e3 100644 --- a/.github/workflows/test-haproxy-ingress.yml +++ b/.github/workflows/test-haproxy-ingress.yml @@ -209,8 +209,8 @@ jobs: test_endpoint "http://$INGRESS_IP/v2/docs" 200 || exit 1 echo "🔄 Testing websocket endpoint..." - test_endpoint "http://$INGRESS_IP/websocket/" 101 "-H 'Upgrade: websocket' -H 'Connection: Upgrade'" || \ - test_endpoint "http://$INGRESS_IP/websocket/" 400 "-H 'Upgrade: websocket' -H 'Connection: Upgrade'" || exit 1 + # should return "OK" + test_endpoint "http://$INGRESS_IP/websocket/" 200 || exit 1 - name: Debug - Show logs on failure if: ${{ failure() }} diff --git a/.github/workflows/test-nginx-ingress.yml b/.github/workflows/test-nginx-ingress.yml index 7eee331..461598b 100644 --- a/.github/workflows/test-nginx-ingress.yml +++ b/.github/workflows/test-nginx-ingress.yml @@ -79,9 +79,10 @@ jobs: - name: Wait for Nginx Ingress run: | + echo "Waiting for Nginx Ingress pods..." kubectl wait --namespace default \ --for=condition=ready pod \ - --selector=app.kubernetes.io/instance=nginx-ingress \ + --selector=app.kubernetes.io/name=nginx-ingress \ --timeout=90s - name: Create test values for nginx