This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new ca84374  Add more debug messages (#188)
ca84374 is described below

commit ca843746882cc0e8cd704a3b827b14f5623b62bf
Author: Kit Chan <[email protected]>
AuthorDate: Thu Jan 25 23:19:20 2024 -0800

    Add more debug messages (#188)
    
    * Update build.yml
    
    * Update test_ingress.py
---
 .github/workflows/build.yml | 2 +-
 tests/suite/test_ingress.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 688297b..52fd993 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -35,7 +35,7 @@ jobs:
           github token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Set up Python 3.7
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v2
         with:
           python-version: '3.7'
 
diff --git a/tests/suite/test_ingress.py b/tests/suite/test_ingress.py
index cd7288a..05fef7f 100644
--- a/tests/suite/test_ingress.py
+++ b/tests/suite/test_ingress.py
@@ -44,7 +44,8 @@ def setup_module(module):
     kubectl_apply('data/setup/ingresses/')
     time.sleep(90)
     misc_command('kubectl get all -A')
-    misc_command('kubectl exec -it $(kubectl get pod -n trafficserver-test -o 
name) -n trafficserver-test -- curl -v $(kubectl get service/appsvc1 -n 
trafficserver-test-2 -o jsonpath={.spec.clusterIP}):8080')
+    misc_command('kubectl logs $(kubectl get pod -n trafficserver-test-2 -o 
name | head -1) -n trafficserver-test-2')
+    misc_command('kubectl exec $(kubectl get pod -n trafficserver-test -o 
name) -n trafficserver-test -- curl -v $(kubectl get service/appsvc1 -n 
trafficserver-test-2 -o jsonpath={.spec.clusterIP}):8080')
 
 def teardown_module(module):
     kubectl_delete('namespace trafficserver-test-3')

Reply via email to