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/+/20964 ) Change subject: pcu: Fix TC_egprs_pkt_chan_req_reject_exhaustion ...................................................................... pcu: Fix TC_egprs_pkt_chan_req_reject_exhaustion older versions of osmo-pcu were broken and were only allocating TBFs in the first TRX available. This is now fixed and hence osmo-pcu tries better to allocate TBFs across different TRX. That's why the test needs to be fixed to set up only 1 TRX in order to run into the same scenario. Change-Id: I3f6633950bb89dde3f87a237359497f5b23e0fee --- M pcu/PCU_Tests.ttcn 1 file changed, 17 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn index 67d4484..0a44a18 100644 --- a/pcu/PCU_Tests.ttcn +++ b/pcu/PCU_Tests.ttcn @@ -2186,11 +2186,27 @@ /* Make sure that IUT responds with RR Immediate Assignment Reject due to exhaustion. */ testcase TC_egprs_pkt_chan_req_reject_exhaustion() runs on RAW_PCU_Test_CT { + var PCUIF_info_ind info_ind; var template IARRestOctets rest; var BIT11 ra11; + info_ind := valueof(ts_PCUIF_INFO_default); + if (PCUIF_Types.mp_pcuif_version >= 10) { + /* Only the first TRX is enabled. */ + for (var integer i := 0; i < lengthof(info_ind.trx.v10); i := i + 1) { + info_ind.trx.v10[i].pdch_mask := '00000000'B; + } + info_ind.trx.v10[0].pdch_mask := '00000001'B; + } else { + /* Only the first TRX is enabled. */ + for (var integer i := 0; i < lengthof(info_ind.trx.v09); i := i + 1) { + info_ind.trx.v09[i].pdch_mask := '00000000'B; + } + info_ind.trx.v09[0].pdch_mask := '00000001'B; + } + /* Initialize the PCU interface abstraction */ - f_init_raw(testcasename()); + f_init_raw(testcasename(), info_ind); var EGPRSPktChRequest req := { one_phase := { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20964 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: I3f6633950bb89dde3f87a237359497f5b23e0fee Gerrit-Change-Number: 20964 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201030/54f7e28b/attachment.htm>