summaryrefslogtreecommitdiffstats
path: root/mgw
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-02-02 11:55:44 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2018-02-02 16:14:37 +0100
commitdffa6a46e63a217032395b7a9d3b20bdb195588b (patch)
tree35dbfebc89e5b3d9afa9ab506e44e04d4f13000a /mgw
parent5e06ceefbecc55068e317ca03143cae4f91b3d12 (diff)
MGCP_Test: Clean up after TC_crcx_sdp
The testcase TC_crcx_sdp does not clean up the connection it created. This can cause subsequent tests to fail. - Use f_dlcx_ok() to clean up the connection once the test is done. Change-Id: I4e0f5ce218fadc5debe0bbf548b69919584ab66c
Diffstat (limited to 'mgw')
-rw-r--r--mgw/MGCP_Test.ttcn4
1 files changed, 4 insertions, 0 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 55559cd..6c47e27 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -388,6 +388,10 @@ module MGCP_Test {
{ valueof(ts_SDP_rtpmap(98, "AMR/8000")),
valueof(ts_SDP_ptime(20)) });
resp := mgcp_transceive_mgw(cmd, tr_CRCX_ACK);
+
+ /* clean-up */
+ f_dlcx_ok(ep, call_id);
+
setverdict(pass);
}