laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42249?usp=email )
Change subject: hnbgw: Fix regression in hnbgw-test-latest ......................................................................
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(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
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);