Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix login to controller nodes
[doctor.git]
/
tests
/
run.sh
diff --git
a/tests/run.sh
b/tests/run.sh
index
abbe248
..
477d9c2
100755
(executable)
--- 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"
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
}
$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"
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
kill $(pgrep -f "$tunnel_command")
print_log "ssh_tunnel.${ip}.log"
done