summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-01-09 09:31:41 +0000
committerQiLiang <liangqi1@huawei.com>2016-01-09 09:41:40 +0000
commit7be8a9f58376fb3ef0b2f5ecde03edca0e80035a (patch)
treee80c5283c5da48c37dcc347ad65b5506947f9e96 /rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
parentf1c3025829798753e4e57b2c6178f1f72957556a (diff)
Support run rubbos test mult times
Update Mysql configuration to support run test mult times JIRA: BOTTLENECK-24 Change-Id: I29f2b17be03b095e1af569a53bbbecf4f78ab005 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
index 32163d48..1c785b32 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
@@ -18,8 +18,10 @@ ssh $BENCHMARK_HOST "
"
#TODO use for loop to genrate rubbos.properties file 200 ~ 1700
-for i in {2..2}
+for i in {2..17..5}
do
+ echo "Start Browsing Only with rubbos.properties_$((100*i)) $(date)"
+
ssh $BENCHMARK_HOST "
source /bottlenecks/rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh
rm -f $RUBBOS_HOME/Client/rubbos.properties
@@ -38,8 +40,8 @@ do
scp $OUTPUT_HOME/rubbos_conf/rubbos.properties $BENCHMARK_HOST:$RUBBOS_HOME/Client/rubbos.properties
rm -rf $OUTPUT_HOME/rubbos_conf/rubbos.properties
- #echo "Resetting all data"
- #$OUTPUT_HOME/scripts/reset_all.sh
+ echo "Resetting all data"
+ $OUTPUT_HOME/scripts/reset_all.sh
# Browsing Only
echo "Start Browsing Only with rubbos.properties_$((100*i))"
@@ -91,13 +93,11 @@ do
mv 20* $TMP_RESULTS_DIR_BASE/$RUBBOS_RESULTS_DIR_NAME/
"
- #$OUTPUT_HOME/scripts/stop_all.sh
- #$OUTPUT_HOME/scripts/kill_all.sh
- #sleep 15
- echo "End Browsing Only with rubbos.properties_$((100*i))"
-
- # Read/Write
+ $OUTPUT_HOME/scripts/stop_all.sh
+ $OUTPUT_HOME/scripts/kill_all.sh
+ sleep 15
+ echo "End Browsing Only with rubbos.properties_$((100*i)) $(date)"
done
echo "Processing the results..."