Merge "fix ssh tunnel creation"
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 18 Aug 2016 13:21:05 +0000 (13:21 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 18 Aug 2016 13:21:05 +0000 (13:21 +0000)
tests/run.sh

index 01adf68..7531c98 100755 (executable)
@@ -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 &
 }