daniel submitted this change.

View Change

Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified lynxis lazus: Looks good to me, approved
mme: Fix order in eutran_to_geran testcase

The diagram shows that the S1-AP release should happen after the Delete
Session Request/Response (even though all a numbered 13).

The test started failing because a newer open5gs would check/require a
resource that was freed due to an S1 release.

Change-Id: I0d7a388dc8b1a1c13de8f7e3fe7781423fc90868
---
M mme/MME_Tests.ttcn
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/mme/MME_Tests.ttcn b/mme/MME_Tests.ttcn
index ca36e24..21ec48d 100644
--- a/mme/MME_Tests.ttcn
+++ b/mme/MME_Tests.ttcn
@@ -1455,16 +1455,18 @@
/* TS 23.401 Figure D.3.5-1 Step 8: */
f_DIA_CancelLocation();

- /* TS 23.401 Figure D.3.5-1 Step 13:
- * Upon rx of SGSN Context Acknowledge, MME released the ENB/UE context:
- */
- as_s1ap_handle_UeContextReleaseCmd();

/* TS 23.401 Figure D.3.5-1 Step 13:
* After Gn timer triggers, the SGW session is deleted.
* Make sure Operation Indication is set to 0, to tell the SGW to keep the Session up at the PGW.
*/
as_GTP2C_DeleteSession_success(tr_GTP2C_Indication(oI := '0'B));
+
+ /* TS 23.401 Figure D.3.5-1 Step 13:
+ * Upon rx of SGSN Context Acknowledge, MME released the ENB/UE context:
+ */
+ as_s1ap_handle_UeContextReleaseCmd();
+
/* Let MME some time to handle the Create Session Response: */
f_sleep(3.0);
}

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

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0d7a388dc8b1a1c13de8f7e3fe7781423fc90868
Gerrit-Change-Number: 37893
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>