Harald Welte has submitted this change and it was merged.

Change subject: MGCP_Test: Clean up after TC_crcx_sdp
......................................................................


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
---
M mgw/MGCP_Test.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
                                  { 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);
        }
 

-- 
To view, visit https://gerrit.osmocom.org/6263
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e0f5ce218fadc5debe0bbf548b69919584ab66c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to