From 3410f6e0c4b1d2b2dcb4e7a52114cea1ec1c79be Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 10 Dec 2020 01:26:12 +0100 Subject: 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 --- ..._ts_amr_tch_f_to_h_congestion_assignment.ho_vty | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty (limited to 'tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty') diff --git a/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty b/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty new file mode 100644 index 000000000..3ae5997c8 --- /dev/null +++ b/tests/handover/test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty @@ -0,0 +1,81 @@ +# Congestion check: Balancing congestion by handover TCH/F -> TCH/H +# With dynamic timeslots. +# As soon as only one TCH/F is left, there should be HO to a dyn TS. + +create-bts trx-count 1 timeslots c+s4 TCH/F TCH/F TCH/F dyn dyn dyn PDCH + +network + bts 0 + handover2 min-free-slots tch/f 2 + handover2 min-free-slots tch/h 0 + handover2 assignment 1 +set-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch pdch pdch + +# (there must be at leas one measurement report on each lchan for congestion check to work) +meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +meas-rep lchan 0 0 3 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30 + +congestion-check +expect-no-chan + +create-ms bts 0 TCH/F AMR +meas-rep lchan 0 0 5 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F pdch pdch + +congestion-check +expect-ho from lchan 0 0 5 0 to lchan 0 0 6 0 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/H- pdch + +congestion-check +expect-ho from lchan 0 0 4 0 to lchan 0 0 6 1 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch pdch TCH/HH pdch + +congestion-check +expect-no-chan + +create-ms bts 0 TCH/F AMR +meas-rep lchan 0 0 4 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/F pdch TCH/HH pdch + +congestion-check +expect-ho from lchan 0 0 4 0 to lchan 0 0 5 0 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/H- TCH/HH pdch + +congestion-check +expect-ho from lchan 0 0 1 0 to lchan 0 0 5 1 +expect-ts-use trx 0 0 states * - TCH/F TCH/F pdch TCH/HH TCH/HH pdch + +congestion-check +expect-no-chan + +create-ms bts 0 TCH/F AMR +meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F pdch TCH/HH TCH/HH pdch + +congestion-check +expect-ho from lchan 0 0 1 0 to lchan 0 0 4 0 +expect-ts-use trx 0 0 states * - TCH/F TCH/F TCH/H- TCH/HH TCH/HH pdch + +congestion-check +expect-ho from lchan 0 0 2 0 to lchan 0 0 4 1 +expect-ts-use trx 0 0 states * - - TCH/F TCH/HH TCH/HH TCH/HH pdch + +congestion-check +expect-no-chan + +create-ms bts 0 TCH/F AMR +meas-rep lchan 0 0 1 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +expect-ts-use trx 0 0 states * TCH/F - TCH/F TCH/HH TCH/HH TCH/HH pdch + +congestion-check +expect-no-chan + +create-ms bts 0 TCH/F AMR +meas-rep lchan 0 0 2 0 rxlev 40 rxqual 0 ta 0 neighbors 30 +expect-ts-use trx 0 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/HH TCH/HH pdch + +congestion-check +expect-no-chan + -- cgit v1.2.3