diff options
author | Jiang, Yunhong <yunhong.jiang@intel.com> | 2016-10-13 15:57:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-13 15:57:45 +0000 |
commit | 71833ad15517efc8dabfbea4ba1dbf08e33c4a93 (patch) | |
tree | 8da5265415bdf3371ecb78bcbd83851e199e5b25 | |
parent | 3f130ef583ff4984853be9d3db8d8824e996b5ca (diff) | |
parent | 49923546d8bdc8a3a101ba80ac0810f3e1fcb36a (diff) |
Merge "This patch contains updated Dockerfile to modify SSH Timeout value for the execution of cyclictest through yardstick"
-rw-r--r-- | docker_image_build/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker_image_build/Dockerfile b/docker_image_build/Dockerfile index fd1ea5883..fa7195400 100644 --- a/docker_image_build/Dockerfile +++ b/docker_image_build/Dockerfile @@ -5,5 +5,7 @@ # FROM kvmfornfv1:latest RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/colorado +RUN var=`grep "loops" /root/yardstick/samples/cyclictest-node-context.yaml |awk '{ print $2/1000 }'`; \ + sed -i -e "s/3600/$((var+1500))/g" /root/yardstick/yardstick/ssh.py RUN cd /root/yardstick && python setup.py install WORKDIR /root |