summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh
index abbe2485..477d9c2f 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -227,7 +227,7 @@ start_consumer() {
for ip in $CONTROLLER_IPS
do
forward_rule="-R $CONSUMER_PORT:localhost:$CONSUMER_PORT"
- tunnel_command="sudo ssh $ssh_opts $ip $forward_rule sleep 600"
+ tunnel_command="sudo ssh $ssh_opts_cpu $COMPUTE_USER@$ip $forward_rule sleep 600"
$tunnel_command > "ssh_tunnel.${ip}.log" 2>&1 < /dev/null &
done
}
@@ -241,7 +241,7 @@ stop_consumer() {
for ip in $CONTROLLER_IPS
do
forward_rule="-R $CONSUMER_PORT:localhost:$CONSUMER_PORT"
- tunnel_command="sudo ssh $ssh_opts $ip $forward_rule sleep 600"
+ tunnel_command="sudo ssh $ssh_opts_cpu $COMPUTE_USER@$ip $forward_rule sleep 600"
kill $(pgrep -f "$tunnel_command")
print_log "ssh_tunnel.${ip}.log"
done