Change in osmo-bsc[master]: handover_test: show bug: add test_balance_congestion_tchf_tchh.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
Sat Jan 9 11:53:47 UTC 2021


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


Change subject: handover_test: show bug: add test_balance_congestion_tchf_tchh.ho_vty
......................................................................

handover_test: show bug: add test_balance_congestion_tchf_tchh.ho_vty

Change-Id: I78fd146fb9b9f9e5d61234065abecbedb9f30a3a
---
M tests/handover/handover_tests.ok
A tests/handover/test_balance_congestion_tchf_tchh.ho_vty
2 files changed, 54 insertions(+), 0 deletions(-)



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

diff --git a/tests/handover/handover_tests.ok b/tests/handover/handover_tests.ok
index 521a0fe..95442a3 100644
--- a/tests/handover/handover_tests.ok
+++ b/tests/handover/handover_tests.ok
@@ -8,6 +8,7 @@
 pass test_amr_tch_h_to_f_congestion_two_cells.ho_vty
 pass test_balance_congestion.ho_vty
 pass test_balance_congestion_2.ho_vty
+pass test_balance_congestion_tchf_tchh.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_balance_congestion_tchf_tchh.ho_vty b/tests/handover/test_balance_congestion_tchf_tchh.ho_vty
new file mode 100644
index 0000000..d7b3cf5
--- /dev/null
+++ b/tests/handover/test_balance_congestion_tchf_tchh.ho_vty
@@ -0,0 +1,53 @@
+# Balance congestion across cells and across TCH/F and TCH/H.
+
+network
+ handover2 min-free-slots tch/f 3
+ handover2 min-free-slots tch/h 3
+
+create-bts trx-count 1 timeslots	c+s4	TCH/F	TCH/F	TCH/F	TCH/F	TCH/H	TCH/H	TCH/H
+
+# both TCH/H and TCH/F have one lchan above congestion, nothing happens
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  -
+meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
+congestion-check
+expect-no-chan
+
+# TCH/F = +1, TCH/H = +2 above congestion. Moving a TCH/H to TCH/F would just reverse the situation to F=+2 H=+1. Nothing happens.
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  TCH/H-
+meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
+congestion-check
+expect-no-chan
+
+# F=+1 H=+3. Balance to F=+2 H=+2
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  TCH/HH
+meas-rep lchan * * * * rxlev 10 rxqual 0 ta 0
+congestion-check
+expect-ho from lchan 0 0 5 0 to lchan 0 0 3 0
+
+# Now the exact same thing, just with different min-free-slots settings for
+# tch/f vs tch/h
+
+network
+ handover2 min-free-slots tch/f 3
+ handover2 min-free-slots tch/h 5
+
+# both TCH/H and TCH/F have one lchan above congestion, nothing happens
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  -	-
+meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
+congestion-check
+# FAIL: should be the same as above, but seeing a handover from F to H
+expect-ho from lchan 0 0 1 0 to lchan 0 0 6 0
+
+# TCH/F = +1, TCH/H = +2 above congestion. Moving a TCH/H to TCH/F would just
+# reverse the situation to F=+2 H=+1. Nothing happens.
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/H-  -
+meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
+congestion-check
+expect-no-chan
+
+# F=+1 H=+3. Balance to F=+2 H=+2
+set-ts-use trx 0 0 states		*	TCH/F	TCH/F	-	-	TCH/HH  TCH/HH  -
+meas-rep lchan * * * * rxlev 20 rxqual 0 ta 0
+congestion-check
+# FAIL: should be the same as above, from lchan 0 0 5 0 to lchan 0 0 3 0, but no handover happens
+expect-no-chan

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I78fd146fb9b9f9e5d61234065abecbedb9f30a3a
Gerrit-Change-Number: 22083
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/20210109/8ae9a514/attachment.htm>


More information about the gerrit-log mailing list