From: Ryota MIBU Date: Thu, 18 Aug 2016 13:21:05 +0000 (+0000) Subject: Merge "fix ssh tunnel creation" X-Git-Tag: colorado.1.0~19 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=38a2b7c629688a1a8b362e1d4ffb5c8cde965dad;hp=c0a49e9c8f74832ee9f67630275e75e42296fe00;p=doctor.git Merge "fix ssh tunnel creation" --- diff --git a/tests/run.sh b/tests/run.sh index 01adf689..7531c989 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -211,7 +211,7 @@ start_consumer() { # NOTE(r-mibu): create tunnel to the installer node, so that we can # avoid some network problems dpends on infra and installers. # This tunnel will be terminated by stop_consumer() or after 10 mins passed. - TUNNEL_COMMAND="sudo ssh $ssh_opts $INSTALLER_IP -R $CONSUMER_PORT:localhost:$CONSUMER_PORT 'sleep 600'" + TUNNEL_COMMAND="sudo ssh $ssh_opts $INSTALLER_IP -R $CONSUMER_PORT:localhost:$CONSUMER_PORT sleep 600" $TUNNEL_COMMAND > ssh_tunnel.log 2>&1 < /dev/null & }