aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover/test_no_congestion.ho_vty
diff options
context:
space:
mode:
Diffstat (limited to 'tests/handover/test_no_congestion.ho_vty')
-rw-r--r--tests/handover/test_no_congestion.ho_vty17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/handover/test_no_congestion.ho_vty b/tests/handover/test_no_congestion.ho_vty
new file mode 100644
index 000000000..c8328c6f2
--- /dev/null
+++ b/tests/handover/test_no_congestion.ho_vty
@@ -0,0 +1,17 @@
+# Congestion check: No congestion
+# Three cells have different number of used slots, but there is no
+# congestion in any of these cells. No handover is performed.
+
+create-n-bts 3
+network
+ handover2 min-free-slots tch/f 2
+ handover2 min-free-slots tch/h 2
+set-ts-use trx 0 0 states * TCH/F TCH/F - - TCH/HH - -
+set-ts-use trx 1 0 states * TCH/F - - - TCH/H- - -
+meas-rep lchan * * * * rxlev 30 rxqual 0 ta 0 neighbors 20 1 20
+expect-no-chan
+congestion-check
+expect-no-chan
+expect-ts-use trx 0 0 states * TCH/F TCH/F - - TCH/HH - -
+expect-ts-use trx 1 0 states * TCH/F - - - TCH/H- - -
+