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 uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22662 ) Change subject: fr: Add component id in logs; add 15s timeout waiting for BVC-UNBLOCK ...................................................................... fr: Add component id in logs; add 15s timeout waiting for BVC-UNBLOCK Change-Id: If62d54517ee9af828d6fa56d83073260ceced1e8 --- M fr/FR_Tests.ttcn 1 file changed, 11 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/62/22662/1 diff --git a/fr/FR_Tests.ttcn b/fr/FR_Tests.ttcn index 23c8e26..2bac1f8 100644 --- a/fr/FR_Tests.ttcn +++ b/fr/FR_Tests.ttcn @@ -115,19 +115,28 @@ function f_ul_ud(charstring id) runs on UE_CT { - log("Waiting for BVC-UNBLOCK"); + log(id, " Waiting for BVC-UNBLOCK"); + timer T := 15.0; + T.start; alt { [] BSSGP[0].receive(BssgpStatusIndication:{*,?,BVC_S_UNBLOCKED}) { } [] BSSGP[0].receive { repeat; } + [] T.timeout { + setverdict(fail, id, " Timeout waiting for BVC-UNBLOCK"); + self.stop; + } } - log ("Entering main loop"); + log (id, " Entering main loop"); for (var integer num_pkts := 0; num_pkts < 50; num_pkts := num_pkts + 1) { var integer ran_index := 0; //BSSGP[ran_index].send(ts_BSSGP_UL_UD(g_pars.tlli, g_pars.bssgp_cell_id[ran_index], llc_enc)); BSSGP[ran_index].send(ts_LLC_UI(f_rnd_octstring(512), '0000'B, '1'B, 0)) f_sleep(0.5); + /* 512 bytes + 32 bytes HDR every 0.5s (1088/s) means about 8704/s per UE */ + /* at 100 UE that ends up about 870 kBps */ } + log (id, "Leaving main loop"); } function f_start_ue(void_fn fn, charstring id, GbInstance gb, integer imsi_suffix, BSSGP_BVC_CT bvc_comp, float t_guard := 40.0) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22662 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: If62d54517ee9af828d6fa56d83073260ceced1e8 Gerrit-Change-Number: 22662 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210203/51d761b1/attachment.htm>