aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2021-12-15 12:49:39 +0100
committerlaforge <laforge@osmocom.org>2022-01-04 13:32:59 +0000
commit6cc90ebcaca2b467b2d39f856cd0797254e2383b (patch)
tree8dbd3428ba6fcafaea44b5033cb1656fc54de2b9
parent58a69df9a5a0f0913f8920a740d791709e0c11c5 (diff)
bsc: fix ho-out test failures: cleanup neighbor cfg cruft
In the out-of-this-BSC handover tests, a neighbor config of LAC 99 left behind from a previous test obstructed the test from working: % BTS 0 already had neighbor LAC:99 ARFCN-BSIC:123-45 % ERROR: duplicate Cell ID in neighbor config, with differing ARFCN+BSIC: LAC:99 ARFCN-BSIC:123-any Add a 'no neighbor lac 99' before configuring the neighbor via VTY. Also add the missing neighbor config to f_tc_srvcc_eutran_to_geran_ho_out_main(). Affects tests: BSC_Tests.TC_ho_out_of_this_bsc BSC_Tests.TC_srvcc_eutran_to_geran_ho_out BSC_Tests.TC_srvcc_eutran_to_geran_ho_out_forbid_fast_return Change-Id: I7a7c97a47a06abb59c0d89638c6b503ab66eb359
-rw-r--r--bsc/BSC_Tests.ttcn17
1 files changed, 14 insertions, 3 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 5276ed9c..c485ec50 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -5616,6 +5616,7 @@ testcase TC_ho_out_of_this_bsc() runs on test_CT {
"handover 1",
"handover algorithm 2",
"handover2 window rxlev averaging 1",
+ "no neighbors",
"neighbor lac 99 arfcn 123 bsic any"});
f_vty_transceive(BSCVTY, "drop bts connection 0 oml");
@@ -5687,7 +5688,7 @@ private function f_tc_ho_out_fail_no_msc_response(charstring id) runs on MSC_Con
var template PDU_BSSAP exp_compl := f_gen_exp_compl();
f_establish_fully(ass_req, exp_compl);
- f_bts_0_cfg(BSCVTY, {"neighbor lac 99 arfcn 123 bsic any"});
+ f_bts_0_cfg(BSCVTY, {"no neighbor lac 99", "neighbor lac 99 arfcn 123 bsic any"});
f_vty_transceive(BSCVTY, "handover any to arfcn 123 bsic any");
BSSAP.receive(tr_BSSMAP_HandoverRequired);
@@ -5731,7 +5732,7 @@ private function f_tc_ho_out_fail_rr_ho_failure(charstring id) runs on MSC_ConnH
var template PDU_BSSAP exp_compl := f_gen_exp_compl();
f_establish_fully(ass_req, exp_compl);
- f_bts_0_cfg(BSCVTY, {"neighbor lac 99 arfcn 123 bsic any"});
+ f_bts_0_cfg(BSCVTY, {"no neighbor lac 99", "neighbor lac 99 arfcn 123 bsic any"});
f_vty_transceive(BSCVTY, "handover any to arfcn 123 bsic any");
BSSAP.receive(tr_BSSMAP_HandoverRequired);
@@ -5813,7 +5814,7 @@ private function f_tc_ho_out_fail_no_result_after_ho_cmd(charstring id) runs on
var template PDU_BSSAP exp_compl := f_gen_exp_compl();
f_establish_fully(ass_req, exp_compl);
- f_bts_0_cfg(BSCVTY, {"neighbor lac 99 arfcn 123 bsic any"});
+ f_bts_0_cfg(BSCVTY, {"no neighbor lac 99", "neighbor lac 99 arfcn 123 bsic any"});
f_vty_transceive(BSCVTY, "handover any to arfcn 123 bsic any");
BSSAP.receive(tr_BSSMAP_HandoverRequired);
@@ -6099,6 +6100,16 @@ private function f_tc_srvcc_eutran_to_geran_ho_out_main(boolean disable_fast_ret
var MSC_ConnHdlr vc_conn;
var TestHdlrParams pars := f_gen_test_hdlr_pars();
+ f_init_vty();
+ f_bts_0_cfg(BSCVTY,
+ {"neighbor-list mode automatic",
+ "handover 1",
+ "handover algorithm 2",
+ "handover2 window rxlev averaging 1",
+ "no neighbors",
+ "neighbor lac 99 arfcn 123 bsic any"});
+ f_vty_transceive(BSCVTY, "drop bts connection 0 oml");
+
f_init(1, true);
if (disable_fast_return) {
f_vty_allow_srvcc_fast_return(true, 0);