laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36524?usp=email )
Change subject: hnbgw: Test normal and abnormal RAB release ......................................................................
hnbgw: Test normal and abnormal RAB release
Change-Id: I7b57d4f9bd39820829ae9d52ae6e2f098e75de71 --- M hnbgw/HNBGW_Tests.ttcn 1 file changed, 23 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index 808db75..97c5644 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -1513,6 +1513,7 @@ f_rua_expect(tx); }
+/* RAB release with Cause NAS/Normal (successful/orderly release) */ testcase TC_rab_release() runs on test_CT { var ConnHdlr vc_conn; g_num_hnbs := 1; @@ -1524,6 +1525,18 @@ f_shutdown_helper(); }
+/* RAB release with Cause abnormal */ +testcase TC_rab_release_abnormal() runs on test_CT { + var ConnHdlr vc_conn; + g_num_hnbs := 1; + f_init(); + + vc_conn := f_start_handler_with_pars(refers(f_tc_rab_release), t_pars(8, rab_rel_cause := ts_RanapCause_radio_conn_lost)); + vc_conn.done; + + f_shutdown_helper(); +} + friend function f_tc_rab_assign_mgcp_to(charstring id, TestHdlrParams pars) runs on ConnHdlr { var MgcpCommand mgcp_cmd; var RANAP_PDU tx; @@ -2793,6 +2806,7 @@ execute(TC_ranap_ps_bidir()); execute(TC_rab_assignment()); execute(TC_rab_release()); + execute(TC_rab_release_abnormal()); execute(TC_rab_assign_fail()); execute(TC_rab_assign_mgcp_to()); execute(TC_rab_assign_mgw_iuup_addr_chg());