diff options
Diffstat (limited to 'tests/handover')
-rw-r--r-- | tests/handover/handover_tests.ok | 1 | ||||
-rw-r--r-- | tests/handover/test_bs_power.ho_vty | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/handover/handover_tests.ok b/tests/handover/handover_tests.ok index bd21d0e57..4a4a9241d 100644 --- a/tests/handover/handover_tests.ok +++ b/tests/handover/handover_tests.ok @@ -10,6 +10,7 @@ pass test_balance_congestion.ho_vty pass test_balance_congestion_2.ho_vty pass test_balance_congestion_by_percentage.ho_vty pass test_balance_congestion_tchf_tchh.ho_vty +pass test_bs_power.ho_vty pass test_congestion.ho_vty pass test_congestion_favor_best_target_rxlev.ho_vty pass test_congestion_intra_vs_inter_cell.ho_vty diff --git a/tests/handover/test_bs_power.ho_vty b/tests/handover/test_bs_power.ho_vty new file mode 100644 index 000000000..2c68d57a6 --- /dev/null +++ b/tests/handover/test_bs_power.ho_vty @@ -0,0 +1,16 @@ +# Do not oscillate handover when the BTS applies BS power reduction + +create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/F TCH/F PDCH +create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/F TCH/F PDCH + +set-ts-use trx 0 0 states * TCH/F - - - - - * + +meas-rep repeat 10 bspower 20 lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30 +# FAIL: there should be no handover, because the bspower reduction of 20 with an rxlev of 20 (= 40) is stronger than the +# neighbor at 30. But since osmo-bsc fails to take the BS Power into account, it hands over to the neighbor. +#expect-no-chan +expect-ho from lchan 0 0 1 0 to lchan 1 0 1 0 + +# When the neighbor then reports the stronger original cell, we get handover oscillation +meas-rep repeat 10 bspower 0 lchan 1 0 1 0 rxlev 30 rxqual 0 ta 0 neighbors 40 +expect-ho from lchan 1 0 1 0 to lchan 0 0 1 0 |