osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33631 )
Change subject: TC_lu_and_mt_csd: reduce call open time ......................................................................
TC_lu_and_mt_csd: reduce call open time
Related: OS#4394 Change-Id: Ie733028f7953d5d9fa1907efdb19485dee93ece9 --- M msc/BSC_ConnectionHandler.ttcn M msc/MSC_Tests.ttcn 2 files changed, 13 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/31/33631/1
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index b3b3373..8b390ea 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -1835,12 +1835,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); diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index 4c14070..09e2885 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -7223,7 +7223,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);