From b292d866ce8fd243a0290b9550f246e42e90012d Mon Sep 17 00:00:00 2001 From: "Eduardo Ramos Testillano (eramedu)" Date: Fri, 15 May 2020 17:47:05 +0200 Subject: [PATCH] Make configurable the start arguments for ADML You could select st mode (system test) --- example/diameter/launcher/resources/rest_api/ct/ct.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/diameter/launcher/resources/rest_api/ct/ct.sh b/example/diameter/launcher/resources/rest_api/ct/ct.sh index 0f9fd18..fc69e8f 100755 --- a/example/diameter/launcher/resources/rest_api/ct/ct.sh +++ b/example/diameter/launcher/resources/rest_api/ct/ct.sh @@ -51,6 +51,12 @@ if [ "${opt}" = "y" ] then docker kill ${SVC_NAME} &>/dev/null docker kill ${SVC_NAME}-debug &>/dev/null + + echo "Optimize for system test (disable traffic logs and set warning level for traces) (y/n) [n]:" + read opt + [ -z "${opt}" ] && opt=n + [ "${opt}" = "y" ] && EXTRA_ARGUMENTS=st + cid=$(docker run --rm -d -p ${PORT}:${PORT} --name ${cname} anna-adml-http:${version} ${EXTRA_ARGUMENTS} >/dev/null) [ $? -ne 0 ] && exit 1 echo "Container id: ${cid} (deployed as '${cname}')" -- 2.20.1