aboutsummaryrefslogtreecommitdiffstats
path: root/runSoak.sh
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-04-09 11:25:24 -0400
committerJerry Flood <jf9860@att.com>2017-04-12 09:09:04 -0400
commitba3b329cdcf9c56f7c4ce3a3b87f4a1daaed1d95 (patch)
treedc0a1ed25793c3beba7577dfea621140315797e2 /runSoak.sh
parentb77b6975d66da38adaadec2ad1e395087a4d6f33 (diff)
TEST-2 first cut a soak test engine
runSoak.sh is used to initiate a soak test for a duration in seconds runEteTag.sh is the command invoked by the soak test engine to execute a single tag. Change-Id: I11ee797442cd3baa246e0f4a20bc4dac19c5b89e Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'runSoak.sh')
-rw-r--r--runSoak.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/runSoak.sh b/runSoak.sh
new file mode 100644
index 00000000..3b223ae7
--- /dev/null
+++ b/runSoak.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+INSTALL_DIR=/var/opt/OpenECOMP_ETE
+DURATION=$1
+
+cd ${INSTALL_DIR}
+export PYTHONPATH=${INSTALL_DIR}/robot/library
+python -m loadtest.TestMain -d ${DURATION} --logfile /share/logs/soak_$$.log \ No newline at end of file