pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38582?usp=email )
Change subject: hnbgw: Send meaningful RANAP messages in f_tc_ranap_mo_disconnect()
......................................................................
hnbgw: Send meaningful RANAP messages in f_tc_ranap_mo_disconnect()
Fix the code to send the messages that were fore sure intended, where an
MO disconnect is triggered.
This allows attaching more to reality, plus making it easier to follow
up the test in wireshark and in the code.
Change-Id: I9a2bb35d58c6cdda312638103ef5c3c2f5661e62
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 6 insertions(+), 7 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 61000c3..8a263d5 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -1264,15 +1264,14 @@
private function f_tc_ranap_mo_disconnect(charstring id) runs on ConnHdlr {
- /* HNB -> MSC: InitialUE */
+ /* HNB->MSC: InitialUE */
f_iuh2iu_connect(f_build_initial_ue(g_pars));
- /* MSC <- HNB: DirectTransfer */
- f_iu2iuh(ts_RANAP_DirectTransfer(f_rnd_octstring(10)));
- /* MSC -> HNB: DirectTransfer */
- f_iuh2iu(ts_RANAP_DirectTransfer(f_rnd_octstring(10)));
-
- /* MSC <- HNB: RUA disconnect */
+ /* HNB->MSC: Request CN to start Iu-Release procedure: */
+ f_iuh2iu(ts_RANAP_IuReleaseRequest(ts_RanapCause_radio_conn_release));
+ /* HNB<-MSC: CN starts Iu-Release procedure: */
+ f_iu2iuh(ts_RANAP_IuReleaseCommand(ts_RanapCause_radio_conn_release));
+ /* HNB->MSC: RUA disconnect */
f_iuh2iu_disconnect(ts_RANAP_IuReleaseComplete,
RUA_IEs.Cause:{misc:=processing_overload});
}
testcase TC_ranap_cs_mo_disconnect() runs on test_CT {
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38582?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9a2bb35d58c6cdda312638103ef5c3c2f5661e62
Gerrit-Change-Number: 38582
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>