aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-12-10 01:26:12 +0100
committerneels <nhofmeyr@sysmocom.de>2020-12-23 01:59:08 +0000
commit3410f6e0c4b1d2b2dcb4e7a52114cea1ec1c79be (patch)
treee3e632604c000f2e669ccd9950b8c613fa84c276 /tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty
parent1adf0386d3880ab7d25925b1144163f58bbc1871 (diff)
handover_test: rename test scripts from numbers to names
The meaningful names expose that some of those tests are apparently quite similar. With names like this it is far easier to see whether a specific scenario is already tested or not, and find a test when looking for a specific scenario. Change-Id: I6f6d65d818fd1265e8ff94a2e0afba6392c50eb9
Diffstat (limited to 'tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty')
-rw-r--r--tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty b/tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty
new file mode 100644
index 000000000..d6515fc6e
--- /dev/null
+++ b/tests/handover/test_amr_tch_f_to_h_congestion_assignment.ho_vty
@@ -0,0 +1,19 @@
+# Congestion check: Upgrading worst candidate from TCH/H -> TCH/F
+# There is only one BTS. The TCH/H slots are congested. Since
+# assignment is performed to less-congested TCH/F, the candidate with
+# the worst RX level is chosen.
+
+create-n-bts 1
+network
+ bts 0
+ handover2 min-free-slots tch/f 4
+ handover2 min-free-slots tch/h 4
+set-ts-use trx 0 0 states * - - - - TCH/HH TCH/H- -
+meas-rep lchan 0 0 5 0 rxlev 30 rxqual 0 ta 0
+meas-rep lchan 0 0 5 1 rxlev 34 rxqual 0 ta 0
+meas-rep lchan 0 0 6 0 rxlev 20 rxqual 0 ta 0
+expect-no-chan
+congestion-check
+expect-ho from lchan 0 0 6 0 to lchan 0 0 1 0
+expect-ts-use trx 0 0 states * TCH/F - - - TCH/HH - -
+