Hoernchen has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27603 )

Change subject: msc tests: fix test so they don't depend on previous test runs
......................................................................

msc tests: fix test so they don't depend on previous test runs

The test currently implicitly check the vlr state left by preceding tests.

Change-Id: Iebaecd28a426b15baf4729f40b46dd33da79cbae
---
M msc/MSC_Tests.ttcn
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  Hoernchen: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 5bf199c..7244555 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1170,7 +1170,7 @@
        f_expect_mm_info();

        /* wait for normal teardown */
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id := false);

        /* Now the same IMSI is still attached in the VLR, and a LU with an 
unknown TMSI reveals the same IMSI only
         * later during ID Response.  osmo-msc first creates a new vlr_subscr 
for the unknown TMSI, and as soon as the
@@ -1207,7 +1207,7 @@
        f_expect_mm_info();

        /* wait for normal teardown */
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id := false);
 }
 testcase TC_attached_imsi_lu_unknown_tmsi() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;
@@ -4410,7 +4410,7 @@
                mtc.stop;
                }
        }
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id:=false);
 }
 testcase TC_lu_with_invalid_mcc_mnc() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;
@@ -6386,7 +6386,7 @@
        f_msc_lu_hlr();
        f_mm_imei();
        f_expect_lu_reject();
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id:=false);
 }
 testcase TC_lu_imsi_auth_tmsi_check_imei_nack() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;
@@ -6416,7 +6416,7 @@
        f_msc_lu_hlr();
        f_mm_imei();
        f_expect_lu_reject();
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id:=false);
 }
 testcase TC_lu_imsi_auth_tmsi_check_imei_err() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;
@@ -6507,7 +6507,7 @@

        f_mm_imei_early();
        f_expect_lu_reject();
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id:=false);
 }
 testcase TC_lu_imsi_auth_tmsi_check_imei_early_nack() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;
@@ -6535,7 +6535,7 @@

        f_mm_imei_early();
        f_expect_lu_reject();
-       f_expect_clear();
+       f_expect_clear(verify_vlr_cell_id:=false);
 }
 testcase TC_lu_imsi_auth_tmsi_check_imei_early_err() runs on MTC_CT {
        var BSC_ConnHdlr vc_conn;

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27603
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iebaecd28a426b15baf4729f40b46dd33da79cbae
Gerrit-Change-Number: 27603
Gerrit-PatchSet: 5
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to