laforge submitted this change.
hnbgw: Fix regression in hnbgw-test-latest
Fix unintended if condition removal in recent commit when
in the -latest case. That commit expected to leave the -latest path
untouched but ended up removing the line. Re-add it.
Fixes: 92f92923418c9803a0eb26fae97e56eed47a612d
Change-Id: I0abefedc9f9193b9665c3529a0f0e841db63401d
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index cdd3db0..fc33521 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -381,7 +381,9 @@
if (Misc_Helpers.f_osmo_repo_is("nightly")) {
f_pfcp_force_assoc_setup_req(fail_timeout := true);
} else {
- f_pfcp_wait_assoc_setup_req(fail_timeout := true);
+ if (not f_statsd_pfcp_associated()) {
+ 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 change 42249. To unsubscribe, or for help writing mail filters, visit settings.