osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39550?usp=email )
Change subject: hnbgw: remove osmo-hnbgw <= 1.6.0 code path
......................................................................
hnbgw: remove osmo-hnbgw <= 1.6.0 code path
osmo-hnbgw 1.7.0 has been released, so we can remove this code path.
Change-Id: Ie55b752c19aa597afdc47b6e57e8ff0b42313e00
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 2 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/50/39550/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 589c699..33800f3 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -381,19 +381,10 @@
/* Temporarily access Statsd during test startup: */
connect(self:STATSD_PROC, vc_STATSD:STATSD_PROC);
- /* osmo-hnbgw <= 1.6.0 doesn't support the stats "pfcp_associated".
- * Assume we have to wait for IUT to send PFCP Assoc Setup Req,
- * but avoid failing if we don't receive any. */
- var boolean validate_pfcp_assoc := Misc_Helpers.f_osmo_repo_is("nightly");
- var boolean pfcp_associated := false;
- if (validate_pfcp_assoc) {
- pfcp_associated := f_statsd_pfcp_associated();
- }
-
- if (not pfcp_associated) {
+ if (not f_statsd_pfcp_associated()) {
connect(self:PFCP, vc_PFCP:CLIENT);
connect(self:PFCP_PROC, vc_PFCP:CLIENT_PROC);
- f_pfcp_wait_assoc_setup_req(fail_timeout := validate_pfcp_assoc);
+ f_pfcp_wait_assoc_setup_req(fail_timeout := true);
disconnect(self:PFCP, vc_PFCP:CLIENT);
disconnect(self:PFCP_PROC, vc_PFCP:CLIENT_PROC);
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39550?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie55b752c19aa597afdc47b6e57e8ff0b42313e00
Gerrit-Change-Number: 39550
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>