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/.
daniel gerrit-no-reply at lists.osmocom.orgdaniel has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26372 ) Change subject: gbproxy: Add flush_ll test without new bvci ...................................................................... gbproxy: Add flush_ll test without new bvci Depends: Ic33d08992ea84af006d133db6aec508a7b7c7f28 (osmo-ttcn3-hacks) Change-Id: I9af6f0829bf10031b86e587529b86706fea3a413 Related: OS#5332 --- M gbproxy/GBProxy_Tests.ttcn 1 file changed, 39 insertions(+), 6 deletions(-) Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve pespin: Looks good to me, approved diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index f569eaf..5f5d835 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -2357,7 +2357,7 @@ * FLUSH-LL procedure ***********************************************************************/ -private function f_TC_flush_ll(charstring id) runs on BSSGP_ConnHdlr { +private function f_TC_flush_ll_bvci_new(charstring id) runs on BSSGP_ConnHdlr { var BssgpBvci bvci := g_pars.pcu[0].cfg.bvc[0].bvci; var integer i; for (i := 0; i < 10; i := i+1) { @@ -2367,18 +2367,46 @@ f_sgsn2pcu(pdu_tx, pdu_rx, use_sig := true); - pdu_tx := ts_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(0, 1), 23, bvci_new := bvci); + pdu_tx := ts_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(1, 1), 23, bvci_new := bvci); /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */ - pdu_rx := tr_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(0, 1), 23, bvci_new := bvci); + pdu_rx := tr_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(1, 1), 23, bvci_new := bvci); f_pcu2sgsn(pdu_tx, pdu_rx, use_sig := true); } setverdict(pass); } -testcase TC_flush_ll() runs on test_CT + +testcase TC_flush_ll_bvci_new() runs on test_CT { f_init(); - f_start_handlers(refers(f_TC_flush_ll), testcasename(), 6); + f_start_handlers(refers(f_TC_flush_ll_bvci_new), testcasename(), 6); + /* TODO: start multiple handlers (UEs) on various cells on same and other NSEs */ + f_cleanup(); +} + +private function f_TC_flush_ll_no_bvci_new(charstring id) runs on BSSGP_ConnHdlr { + var BssgpBvci bvci := g_pars.pcu[0].cfg.bvc[0].bvci; + var integer i; + for (i := 0; i < 10; i := i+1) { + var template (value) PDU_BSSGP pdu_tx := ts_BSSGP_FLUSH_LL(g_pars.tlli, bvci); + /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */ + var template (present) PDU_BSSGP pdu_rx := tr_BSSGP_FLUSH_LL(g_pars.tlli, bvci); + + f_sgsn2pcu(pdu_tx, pdu_rx, use_sig := true); + + pdu_tx := ts_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(0, 1), 23); + /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */ + pdu_rx := tr_BSSGP_FLUSH_LL_ACK(g_pars.tlli, int2oct(0, 1), 23); + + f_pcu2sgsn(pdu_tx, pdu_rx, use_sig := true); + } + setverdict(pass); +} + +testcase TC_flush_ll_no_bvci_new() runs on test_CT +{ + f_init(); + f_start_handlers(refers(f_TC_flush_ll_no_bvci_new), testcasename(), 6); /* TODO: start multiple handlers (UEs) on various cells on same and other NSEs */ f_cleanup(); } @@ -3643,7 +3671,12 @@ execute( TC_rim_from_eutran() ); - execute( TC_flush_ll() ); + execute( TC_flush_ll_bvci_new() ); + + /* Depends on osmo-gbproxy > 0.2.0 */ + if (Misc_Helpers.f_osmo_repo_is("nightly")) { + execute( TC_flush_ll_no_bvci_new() ); + } execute( TC_fc_bvc() ); execute( TC_fc_ms() ); execute( TC_ms_reg_enq() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26372 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: I9af6f0829bf10031b86e587529b86706fea3a413 Gerrit-Change-Number: 26372 Gerrit-PatchSet: 5 Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu> Gerrit-Reviewer: osmith <osmith at sysmocom.de> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211130/63d8396c/attachment.htm>