[Dovetail] Setting correct process name for rabbitmq on Apex 17/58317/1
authorGeorg Kunz <georg.kunz@ericsson.com>
Thu, 7 Jun 2018 09:21:42 +0000 (11:21 +0200)
committerGeorg Kunz <georg.kunz@ericsson.com>
Thu, 7 Jun 2018 09:21:42 +0000 (11:21 +0200)
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>
jjb/dovetail/dovetail-run.sh

index df681dd..fe82780 100755 (executable)
@@ -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:"