TT#131255 Reduce sleep time to check rtpengine ports

Lowered the rtpengine cancel delay from 2 to 1 second
Lowered the sleep time of the script check.sh from 5 to 2 seconds
Removed sleep time before check CDRs

This should speed up the test of basic scenarios of 4/5 minutes

Change-Id: I4f5fb539f7ab704f1aca6ddd2abf64db54b27ef1
mr10.1.1
Marco Capetta 5 years ago
parent be6cf8bcba
commit e35be54f15

@ -801,7 +801,7 @@ if ! "$SKIP_RUNSIPP" ; then
fi
echo "$(date) - check RTP sessions, wait 5 secs first"
sleep 5
sleep 2
check_rtp
fi

@ -92,7 +92,7 @@ sub change_config
$yaml->{witnessd}{gather}{sip_responsiveness} = 'no';
$yaml->{security}->{ngcp_panel}->{scripts}->{restapi}->{sslverify} = 'no';
$yaml->{mediator}{interval} = '1'; # Necessary to speedup the creation of the CDRs
$yaml->{rtpproxy}{delete_delay} = '2'; # Necessary to speedup the deletetion of the used ports in rtpengine
$yaml->{rtpproxy}{delete_delay} = '1'; # Necessary to speedup the deletetion of the used ports in rtpengine
$yaml->{rtpproxy}{log_level} = '7';
$yaml->{modules}[0]->{enable} = 'yes'; # dummy module should be the first one

@ -426,6 +426,7 @@ fi
# - tcpdump to capture all the packages
# - kamailio to write all the json files
# - rtpengine to close rtp ports
# - write all the CDRs
sleep 6
# Check if there are still some rtp port open after tests execution
@ -461,7 +462,6 @@ if "${FIX_RETRANS}" ; then
fi
if "${CDR}" ; then
sleep 2
cdr_export
fi

Loading…
Cancel
Save