From 7e743986d3bb48b7589da036f1249ad094f12e89 Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Thu, 19 Dec 2024 17:55:12 +0100 Subject: [PATCH] debug commit --- .github/scripts/e2e_tests_metrics_service.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/e2e_tests_metrics_service.sh b/.github/scripts/e2e_tests_metrics_service.sh index 9e8d963..da127a6 100755 --- a/.github/scripts/e2e_tests_metrics_service.sh +++ b/.github/scripts/e2e_tests_metrics_service.sh @@ -24,7 +24,9 @@ log_and_run() { "$@" 2>&1 | tee -a "$LOG_FILE" } -kubectl port-forward svc/$SERVICE -n $NAMESPACE $LOCAL_PORT:$TARGET_PORT & +log_and_run kubectl describe svc scality-cosi-driver-metrics -n scality-object-storage + +log_and_run kubectl port-forward svc/scality-cosi-driver-metrics -n scality-object-storage 8080:8080 & PORT_FORWARD_PID=$! if ps -p $PORT_FORWARD_PID > /dev/null; then