pespin submitted this change.

View Change

Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve
hnbgw: Send correct recovery timestamp in PFCP Assoc Setup Resp

Change-Id: If57d58edbb4f4da529c6c189a84c25b153ac3326
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index fc33521..f43a738 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -263,6 +263,7 @@
private function f_pfcp_wait_assoc_setup_req(boolean fail_timeout := true, boolean fail_rx_others := true, float wait_timeout := 16.0) runs on PFCP_ConnHdlr {
var PDU_PFCP m;
timer T := wait_timeout;
+ var integer rts := f_PFCPEM_get_recovery_timestamp();
/* ask PFCPEM to route all PDUs to us */
f_PFCPEM_subscribe_bcast();

@@ -270,7 +271,7 @@
alt {
[] PFCP.receive(tr_PFCP_Assoc_Setup_Req()) -> value m {
PFCP.send(ts_PFCP_Assoc_Setup_Resp(m.sequence_number, ts_PFCP_Node_ID_fqdn(mp_pfcp_upf_node_id),
- ts_PFCP_Cause(REQUEST_ACCEPTED), 1234));
+ ts_PFCP_Cause(REQUEST_ACCEPTED), rts));
setverdict(pass);
}
[fail_rx_others] PFCP.receive(PDU_PFCP:?) -> value m {
@@ -328,7 +329,7 @@
[not rx_assoc_setup_req] PFCP.receive(tr_PFCP_Assoc_Setup_Req()) -> value m {
rx_assoc_setup_req := true;
PFCP.send(ts_PFCP_Assoc_Setup_Resp(m.sequence_number, ts_PFCP_Node_ID_fqdn(mp_pfcp_upf_node_id),
- ts_PFCP_Cause(REQUEST_ACCEPTED), 1234));
+ ts_PFCP_Cause(REQUEST_ACCEPTED), rts));
if (not rx_hb_resp) {
repeat;
}

To view, visit change 43298. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If57d58edbb4f4da529c6c189a84c25b153ac3326
Gerrit-Change-Number: 43298
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>