From 72ef86e3d2600daf258a3148a26f22abdf6ec3d3 Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Thu, 7 Jun 2018 11:21:42 +0200 Subject: [PATCH] [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 --- jjb/dovetail/dovetail-run.sh | 8 ++++++-- 1 file 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:" -- 2.16.6