This patch contains updated Dockerfile to modify SSH Timeout value 15/23215/2
authorkalyanreddy <reddyx.gundarapu@intel.com>
Mon, 17 Oct 2016 08:08:45 +0000 (13:38 +0530)
committerkalyanreddy <reddyx.gundarapu@intel.com>
Mon, 17 Oct 2016 08:09:25 +0000 (13:39 +0530)
for the execution of cyclictest through yardstick.

Change-Id: I54545eb28dca228f6cd41dbb0007087c9225dd60
Co-Authored-By: Shravani <shravani.p@tcs.com>
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
docker_image_build/Dockerfile

index fa71954..57e22bb 100644 (file)
@@ -5,7 +5,6 @@
 #
 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 sed -i -e "s/3600/9000/g" /root/yardstick/yardstick/ssh.py
 RUN cd /root/yardstick && python setup.py install
 WORKDIR /root