X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Fct.sh;h=fc69e8f7d4e42dee199912cec3fdeaaf3a78f209;hp=0f9fd18c1d1a6c6154ec7649d1903df27edac46a;hb=b292d866ce8fd243a0290b9550f246e42e90012d;hpb=8a597c7ccbe2986f505fd70258e4b59ecef4166f 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}')"