From 90175e698710bffc3db592fa9c31ebe96bfd0856 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 24 Dec 2020 15:59:16 +0100 Subject: handover_test: add test_congestion_intra_vs_inter_cell.ho_vty Related: SYS#5032 Change-Id: Ib5d7047328e1dadeae42b604a2f71771f0ac3152 --- tests/handover/handover_tests.ok | 1 + .../test_congestion_intra_vs_inter_cell.ho_vty | 132 +++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 tests/handover/test_congestion_intra_vs_inter_cell.ho_vty (limited to 'tests/handover') diff --git a/tests/handover/handover_tests.ok b/tests/handover/handover_tests.ok index 8f5347193..eab405d20 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_congestion.ho_vty pass test_congestion_favor_best_target_rxlev.ho_vty +pass test_congestion_intra_vs_inter_cell.ho_vty pass test_disabled_ho_and_as.ho_vty pass test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty pass test_dyn_ts_favor_half_used_tch_h_as_target.ho_vty diff --git a/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty b/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty new file mode 100644 index 000000000..f0f8e2aaf --- /dev/null +++ b/tests/handover/test_congestion_intra_vs_inter_cell.ho_vty @@ -0,0 +1,132 @@ +create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/H TCH/H PDCH +create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F TCH/F TCH/H TCH/H PDCH + +network + handover2 min-free-slots tch/h 4 + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * + +meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 20 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 20 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +# FAIL! should favor upgrading the weaker TS 6. +expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - - TCH/H- * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - - TCH/H- * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 20 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 21 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +# FAIL! should favor upgrading the weaker TS 5. +expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - TCH/H- - * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 21 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 20 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - - TCH/H- * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 30 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 31 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +# FAIL! should favor upgrading the weaker TS 5. +expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - TCH/H- - * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 31 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 30 +expect-no-chan + +congestion-check +# FAIL! moving to a weaker neighbor, should move to TCH/F in current cell instead. +# FAIL! should favor upgrading the weaker TS 6. +expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - - TCH/H- * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0 neighbors 31 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 31 rxqual 0 ta 0 neighbors 30 +expect-no-chan + +congestion-check +expect-ho from lchan 0 0 5 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - - TCH/H- * +expect-ts-use trx 1 0 states * TCH/F - - - - - * + +# clear measurements for next run +set-ts-use trx 0 0 states * - - - - - - * +set-ts-use trx 1 0 states * - - - - - - * + +set-ts-use trx 0 0 states * - - - - TCH/H- TCH/H- * +meas-rep lchan 0 0 5 0 rxlev 31 rxqual 0 ta 0 neighbors 30 +expect-no-chan +meas-rep lchan 0 0 6 0 rxlev 30 rxqual 0 ta 0 neighbors 31 +expect-no-chan + +congestion-check +expect-ho from lchan 0 0 6 0 to lchan 1 0 1 0 +expect-ts-use trx 0 0 states * - - - - TCH/H- - * +expect-ts-use trx 1 0 states * TCH/F - - - - - * -- cgit v1.2.3