daniel has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37893?usp=email )
Change subject: mme: Fix order in eutran_to_geran testcase ......................................................................
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(-)
Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified lynxis lazus: Looks good to me, approved
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); }