Attention is currently required from: fixeria, pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33630 )
Change subject: library/RAN_Emulation: testcase.stop -> mtc.stop
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> I am wondering if we can use `Misc_Helpers.f_shutdown` instead? It's used once in this file.
Reading `Misc_Helpers.f_shutdown`, it will evaluate to the same `setverdict(fail, …)` and `mtc.stop`, except that it also prints this log line: `log("Stopping testcase execution from ", file, ":", line)`.
So yes we can use it instead, but personally I don't think the extra log line is that useful and I think the separate `setverdict`and `mtc.stop` lines look more elegant than this long line: `Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "…");`. Also the separate `setverdict` + `mtc.stop` lines are already used a lot throughout the file. So I'd prefer to keep the patch as-is.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33630
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: I8923975f6cb48f5f628e2ac5dc412f0f3ab97aab
Gerrit-Change-Number: 33630
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 07 Jul 2023 11:35:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/33593 )
Change subject: csd_bs_list_remove: fix removal logic
......................................................................
Patch Set 2:
(1 comment)
File src/libmsc/csd_bs.c:
https://gerrit.osmocom.org/c/osmo-msc/+/33593/comment/306797b0_ec02710b
PS1, Line 352: i <= list->count
> Are you sure this is correct? Aren't we overrunning the `list` when `i == list->count`?
right! it must be i + 1 < = list->count.
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/33593
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I638d4e063fee6bad45ab14d8ad6b9ad847a7127a
Gerrit-Change-Number: 33593
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 07 Jul 2023 11:14:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33630 )
Change subject: library/RAN_Emulation: testcase.stop -> mtc.stop
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I am wondering if we can use `Misc_Helpers.f_shutdown` instead? It's used once in this file.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33630
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: I8923975f6cb48f5f628e2ac5dc412f0f3ab97aab
Gerrit-Change-Number: 33630
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 07 Jul 2023 11:07:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/33593 )
Change subject: csd_bs_list_remove: fix removal logic
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/libmsc/csd_bs.c:
https://gerrit.osmocom.org/c/osmo-msc/+/33593/comment/a7ba17d8_fe21be06
PS1, Line 352: i <= list->count
Are you sure this is correct? Aren't we overrunning the `list` when `i == list->count`?
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/33593
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I638d4e063fee6bad45ab14d8ad6b9ad847a7127a
Gerrit-Change-Number: 33593
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 07 Jul 2023 11:04:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment