This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Vadim Yanitskiy gerrit-no-reply at lists.osmocom.orgVadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/11939 Change subject: BSC_Tests.ttcn: introduce TC_chan_deact_silence ...................................................................... BSC_Tests.ttcn: introduce TC_chan_deact_silence The idea of this test case is to verify channel deactivation procedure due to no response to Immediate Assignment. Change-Id: I00b0838c9f919303aef72280248b0d1317f42b3b Related: OS#3709 --- M bsc/BSC_Tests.ttcn M bsc/expected-results.xml 2 files changed, 35 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/39/11939/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index a155fef..53e4396 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -524,6 +524,39 @@ } } +/* Test channel deactivation due to silence from MS */ +testcase TC_chan_deact_silence() runs on test_CT { + var RslChannelNr chan_nr; + + f_init(1); + + /* Request for a dedicated channel */ + chan_nr := f_chreq_act_ack('23'O); + + /* Wait some time until the channel is released */ + f_sleep(2.0); + + /* Expect CHANnel RELease */ + alt { + [] IPA_RSL[0].receive(tr_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0, + tr_RSL_MsgTypeD(RSL_MT_RF_CHAN_REL))) { + log("Received CHANnel RELease"); + setverdict(pass); + } + [] IPA_RSL[0].receive(tr_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0, + tr_RSL_IMM_ASSIGN(?))) { + /* See OS#3709, OsmoBSC should not send Immediate + * Assignment Reject since a dedicated channel was + * already allocated, and Immediate Assignment was + * already sent. */ + setverdict(fail, "Unexpected Immediate Assignment!"); + } + [] IPA_RSL[0].receive { + setverdict(fail, "Unexpected RSL message!"); + } + } +} + /*********************************************************************** * Assignment Testing ***********************************************************************/ @@ -3372,6 +3405,7 @@ execute( TC_chan_act_ack_est_ind_refused() ); execute( TC_chan_act_nack() ); execute( TC_chan_exhaustion() ); + execute( TC_chan_deact_silence() ); execute( TC_chan_rel_rll_rel_ind() ); execute( TC_chan_rel_conn_fail() ); execute( TC_chan_rel_hard_clear() ); diff --git a/bsc/expected-results.xml b/bsc/expected-results.xml index d558e72..fd26922 100644 --- a/bsc/expected-results.xml +++ b/bsc/expected-results.xml @@ -10,6 +10,7 @@ <testcase classname='BSC_Tests' name='TC_chan_act_ack_est_ind_refused' time='MASKED'/> <testcase classname='BSC_Tests' name='TC_chan_act_nack' time='MASKED'/> <testcase classname='BSC_Tests' name='TC_chan_exhaustion' time='MASKED'/> + <testcase classname='BSC_Tests' name='TC_chan_deact_silence' time='MASKED'/> <testcase classname='BSC_Tests' name='TC_chan_rel_rll_rel_ind' time='MASKED'/> <testcase classname='BSC_Tests' name='TC_chan_rel_conn_fail' time='MASKED'/> <testcase classname='BSC_Tests' name='TC_chan_rel_hard_clear' time='MASKED'/> -- To view, visit https://gerrit.osmocom.org/11939 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I00b0838c9f919303aef72280248b0d1317f42b3b Gerrit-Change-Number: 11939 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181126/e6be38f3/attachment.htm>