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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22231 ) Change subject: gbproxy: Test suspend + resume for each NRI on each SGSN ...................................................................... gbproxy: Test suspend + resume for each NRI on each SGSN The test now tests with 10 TLLIs of each configured NRI of each configured SGSN. Change-Id: Iccd649165acd99b3d2d1ecc8fba7015fa27f57ec --- M gbproxy/GBProxy_Tests.ttcn 1 file changed, 18 insertions(+), 7 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve daniel: Looks good to me, approved diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index a0e6d1d..aa334ec 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -1096,20 +1096,25 @@ f_global_sgsn2pcu(pdu_tx, pdu_rx, sgsn_idx, pcu_idx); } -private function f_TC_suspend() runs on GlobalTest_CT { +private function f_TC_suspend(integer sgsn_idx, integer nri_idx, integer pcu_idx, integer bvc_idx) +runs on GlobalTest_CT { var integer i; - /* TODO: Generate RA ID for each ConnHdlr */ for (i := 0; i < 10; i := i+1) { - f_suspend_one(sgsn_idx := 0, nri_idx := 0, pcu_idx := 0, bvc_idx := 0, suffix := i); + f_suspend_one(sgsn_idx, nri_idx, pcu_idx, bvc_idx, suffix := i); } setverdict(pass); } testcase TC_suspend() runs on GlobalTest_CT { + var integer sgsn_idx, nri_idx; f_init(); f_global_init(); - f_TC_suspend(); + for (sgsn_idx := 0; sgsn_idx < NUM_SGSN; sgsn_idx := sgsn_idx+1) { + for (nri_idx := 0; nri_idx < lengthof(mp_sgsn_nri[sgsn_idx]); nri_idx := nri_idx+1) { + f_TC_suspend(sgsn_idx, nri_idx, pcu_idx:=0, bvc_idx:=0); + } + } f_cleanup(); } @@ -1143,19 +1148,25 @@ f_global_sgsn2pcu(pdu_tx, pdu_rx, sgsn_idx, pcu_idx); } -private function f_TC_resume() runs on GlobalTest_CT { +private function f_TC_resume(integer sgsn_idx, integer nri_idx, integer pcu_idx, integer bvc_idx) +runs on GlobalTest_CT { var integer i; for (i := 0; i < 10; i := i+1) { - f_resume_one(sgsn_idx := 0, nri_idx := 0, pcu_idx := 0, bvc_idx := 0, suffix := i); + f_resume_one(sgsn_idx, nri_idx, pcu_idx, bvc_idx, suffix := i); } setverdict(pass); } testcase TC_resume() runs on GlobalTest_CT { + var integer sgsn_idx, nri_idx; f_init(); f_global_init(); - f_TC_resume(); + for (sgsn_idx := 0; sgsn_idx < NUM_SGSN; sgsn_idx := sgsn_idx+1) { + for (nri_idx := 0; nri_idx < lengthof(mp_sgsn_nri[sgsn_idx]); nri_idx := nri_idx+1) { + f_TC_resume(sgsn_idx, nri_idx, pcu_idx:=0, bvc_idx:=0); + } + } f_cleanup(); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22231 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: Iccd649165acd99b3d2d1ecc8fba7015fa27f57ec Gerrit-Change-Number: 22231 Gerrit-PatchSet: 2 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu> 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/20210116/2f586bf2/attachment.htm>