Change in osmo-bsc[master]: handover_test: add test_congestion_intra_vs_inter_cell.ho_vty

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Jan 5 22:28:47 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21976 )


Change subject: handover_test: add test_congestion_intra_vs_inter_cell.ho_vty
......................................................................

handover_test: add test_congestion_intra_vs_inter_cell.ho_vty

Related: SYS#5032
Change-Id: Ib5d7047328e1dadeae42b604a2f71771f0ac3152
---
M tests/handover/handover_tests.ok
A tests/handover/test_congestion_intra_vs_inter_cell.ho_vty
2 files changed, 133 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/76/21976/1

diff --git a/tests/handover/handover_tests.ok b/tests/handover/handover_tests.ok
index 8f53471..eab405d 100644
--- a/tests/handover/handover_tests.ok
+++ b/tests/handover/handover_tests.ok
@@ -10,6 +10,7 @@
 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 0000000..f0f8e2a
--- /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 - - - - - *

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21976
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib5d7047328e1dadeae42b604a2f71771f0ac3152
Gerrit-Change-Number: 21976
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210105/1f4fb1af/attachment.htm>


More information about the gerrit-log mailing list