From ba267009fc20141943ec30d0c4dc6b69313f805d Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Thu, 11 Jul 2024 14:09:14 +0800 Subject: [PATCH] test: node-2 to node-3 node-3 is not available, moving to node-2 --- test/steps/format_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/steps/format_config.sh b/test/steps/format_config.sh index fb8dfd47c24..eb2f60d52ba 100755 --- a/test/steps/format_config.sh +++ b/test/steps/format_config.sh @@ -12,7 +12,7 @@ curTime=$(date "+%m%d%H%M") dirName="${jobName}-${version}-${curTime}" #set Deploy Host and Ports -Hosts=(node-3 node-4 node-1) +Hosts=(node-2 node-4 node-1) AvaNode1Ports=$(ssh "${Hosts[0]}" "comm -23 <(seq $portFrom $portTo | sort) <(/usr/sbin/ss -Htan | awk '{print $4}' | cut -d':' -f2 | sort -u) | shuf | head -n 8") AvaNode2Ports=$(ssh "${Hosts[1]}" "comm -23 <(seq $portFrom $portTo | sort) <(/usr/sbin/ss -Htan | awk '{print $4}' | cut -d':' -f2 | sort -u) | shuf | head -n 2")