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

jinrongtong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-test-tool.git

commit b7c9ffc066dfde193ee57455271f459dc2863a1a
Author: wangtong.wt <[email protected]>
AuthorDate: Wed Apr 19 15:34:50 2023 +0800

    bug fix
---
 entry.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/entry.sh b/entry.sh
index f6cd566..d57ef6c 100755
--- a/entry.sh
+++ b/entry.sh
@@ -169,6 +169,9 @@ if [ ${ACTION} == "test" ]; then
   ALL_IP=""
   for pod in $all_pod_name;
   do
+      if [ ! -z `echo "${pod}" | grep "test-${env_uuid}"` ]; then
+        continue
+      fi
       POD_HOST=$(kubectl get pod ${pod} --template={{.status.podIP}} -n ${ns})
       ALL_IP=${pod}:${POD_HOST},${ALL_IP}
   done

Reply via email to