aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sgsn/SGSN_Tests.ttcn3
1 files changed, 2 insertions, 1 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index edc19bcf..14534564 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -206,6 +206,7 @@ private function f_init_vty() runs on test_CT {
map(self:SGSNVTY, system:SGSNVTY);
f_vty_set_prompts(SGSNVTY);
f_vty_transceive(SGSNVTY, "enable");
+ f_vty_transceive(SGSNVTY, "reset sgsn state");
f_vty_config(SGSNVTY, "sgsn", "auth-policy remote");
}
@@ -263,12 +264,12 @@ function f_init(BcdMccMnc mcc_mnc := '26242F'H) runs on test_CT {
sgsn_role := false
};
+ f_init_vty();
f_init_gb(g_gb[0], "SGSN_Test-Gb0", 0);
f_init_gb(g_gb[1], "SGSN_Test-Gb1", 1);
f_init_gb(g_gb[2], "SGSN_Test-Gb2", 2);
f_init_gsup("SGSN_Test");
f_init_gtp("SGSN_Test");
- f_init_vty();
f_vty_enable_echo_interval(g_use_echo);
}