osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33631 )

Change subject: msc: TC_lu_and_mt/mo_csd: reduce call open time
......................................................................

msc: TC_lu_and_mt/mo_csd: reduce call open time

Related: OS#4394
Change-Id: Ie733028f7953d5d9fa1907efdb19485dee93ece9
---
M msc/BSC_ConnectionHandler.ttcn
M msc/MSC_Tests.ttcn
2 files changed, 16 insertions(+), 6 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified




diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index 9a21b5d..64e2aff 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -1837,12 +1837,12 @@
        deactivate(dlcx);
 }

-function f_mt_call(inout CallParameters cpars)
+function f_mt_call(inout CallParameters cpars, float open_time := 5.0)
 runs on BSC_ConnHdlr {

        f_mt_call_establish(cpars);

-       f_call_keep_open(cpars);
+       f_call_keep_open(cpars, open_time);

        log("Hangup");
        f_call_hangup(cpars, true);
@@ -1853,12 +1853,12 @@
        setverdict(pass);
 }

-function f_mo_call(inout CallParameters cpars)
+function f_mo_call(inout CallParameters cpars, float open_time := 5.0)
 runs on BSC_ConnHdlr {

        f_mo_call_establish(cpars);

-       f_call_keep_open(cpars);
+       f_call_keep_open(cpars, open_time);

        log("Hangup");
        f_call_hangup(cpars, false);
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 81819ff..75b7688 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -7203,7 +7203,7 @@
        cpars.bearer_cap.octet6.userRate := int2bit(enum2int(user_rate), 4);

        f_perform_lu();
-       f_mo_call(cpars);
+       f_mo_call(cpars, 0.5);
 }
 
 friend function f_tc_lu_and_mo_csd(charstring id, BSC_ConnHdlrPars pars) runs 
on BSC_ConnHdlr {
@@ -7250,7 +7250,7 @@
        cpars.mncc_bearer_cap.data.user_rate := user_rate;

        f_perform_lu();
-       f_mt_call(cpars);
+       f_mt_call(cpars, 0.5);
 }
 friend function f_tc_lu_and_mt_csd(charstring id, BSC_ConnHdlrPars pars) runs 
on BSC_ConnHdlr {
        f_init_handler(pars);

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33631
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie733028f7953d5d9fa1907efdb19485dee93ece9
Gerrit-Change-Number: 33631
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-MessageType: merged

Reply via email to