summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail/dovetail-run.sh
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-06-07 11:21:42 +0200
committerGeorg Kunz <georg.kunz@ericsson.com>2018-06-07 11:21:42 +0200
commit72ef86e3d2600daf258a3148a26f22abdf6ec3d3 (patch)
tree02a997a831a1e3fa3418493b307f498b66338d67 /jjb/dovetail/dovetail-run.sh
parenta8d59a5b4163078e00ea9f56d666a64815468e07 (diff)
[Dovetail] Setting correct process name for rabbitmq on Apex
Customizing the pod.yaml for running the dovetail.ha.rabbitmq test on Apex. Change-Id: I945d281bb8aac2799dd0ff0aa4a750cbf44803de Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'jjb/dovetail/dovetail-run.sh')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index df681dd59..fe827808d 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -169,10 +169,14 @@ fi
if [ -f ${DOVETAIL_CONFIG}/pod.yaml ]; then
sudo chmod 666 ${DOVETAIL_CONFIG}/pod.yaml
echo "Adapt process info for $INSTALLER_TYPE ..."
- attack_process='rabbitmq'
+ if [ "$INSTALLER_TYPE" == "apex" ]; then
+ attack_process='rabbitmq_server'
+ else
+ attach_process='rabbitmq'
+ fi
cat << EOF >> ${DOVETAIL_CONFIG}/pod.yaml
process_info:
-- {testcase_name: dovetail.ha.tc010, attack_process: ${attack_process}}
+- {testcase_name: dovetail.ha.rabbitmq, attack_process: ${attack_process}}
EOF
echo "file ${DOVETAIL_CONFIG}/pod.yaml:"