sgsn: reset encryption in SGSN_Tests_Iu.f_vty_config()

Ensure the expected default UEA configuration, which is always
reset properly even if one of the testcases aborts due to a DTE.

Change-Id: Ic2c5a11e86e4349796fa7508076ac27ef22815cd
This commit is contained in:
Vadim Yanitskiy 2024-05-15 00:53:13 +05:00
parent b5a002edbf
commit e42f8d634d
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,9 @@ import from RANAP_IEs all;
private function f_init() runs on test_CT {
g_ranap_enable := true;
SGSN_Tests.f_init();
/* default VTY configuration */
f_vty_config(SGSNVTY, "sgsn", "encryption uea 0");
}
private function f_TC_iu_attach(charstring id) runs on BSSGP_ConnHdlr {
@ -59,7 +62,6 @@ testcase TC_iu_attach_encr() runs on test_CT {
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_TC_iu_attach), testcasename(), g_gb, 1001, expect_ciph := true);
vc_conn.done;
f_vty_config(SGSNVTY, "sgsn", "encryption uea 0");
f_cleanup();
}