aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-12-24 12:02:53 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2021-01-05 23:27:26 +0100
commitd6bfbe8cb659a668aa18d183dd6ceedde083a130 (patch)
tree54e24276e35b6d7186e4adfaac4cd295c035abb9
parent69ce88bced3e0f5be536489770a3ea0c533fbfcd (diff)
handover_test: cosmetic cfg simplifications in 5 tests
-rw-r--r--tests/handover/test_amr_tch_f_to_h_balance_congestion.ho_vty8
-rw-r--r--tests/handover/test_balance_congestion.ho_vty8
-rw-r--r--tests/handover/test_balance_congestion_2.ho_vty5
-rw-r--r--tests/handover/test_congestion.ho_vty11
-rw-r--r--tests/handover/test_no_congestion.ho_vty11
5 files changed, 9 insertions, 34 deletions
diff --git a/tests/handover/test_amr_tch_f_to_h_balance_congestion.ho_vty b/tests/handover/test_amr_tch_f_to_h_balance_congestion.ho_vty
index 79a308440..1b8969e1c 100644
--- a/tests/handover/test_amr_tch_f_to_h_balance_congestion.ho_vty
+++ b/tests/handover/test_amr_tch_f_to_h_balance_congestion.ho_vty
@@ -4,12 +4,8 @@
create-n-bts 2
network
- bts 0
- handover2 min-free-slots tch/f 4
- handover2 min-free-slots tch/h 4
- bts 1
- handover2 min-free-slots tch/f 4
- handover2 min-free-slots tch/h 4
+ handover2 min-free-slots tch/f 4
+ handover2 min-free-slots tch/h 4
set-ts-use trx 0 0 states * TCH/F TCH/F - - TCH/H- - -
meas-rep lchan 0 0 1 0 rxlev 30 rxqual 0 ta 0 neighbors 30
expect-no-chan
diff --git a/tests/handover/test_balance_congestion.ho_vty b/tests/handover/test_balance_congestion.ho_vty
index e8304a184..0988f3bb4 100644
--- a/tests/handover/test_balance_congestion.ho_vty
+++ b/tests/handover/test_balance_congestion.ho_vty
@@ -8,12 +8,8 @@ create-n-bts 2
create-ms bts 0 TCH/F AMR
expect-ts-use trx 0 0 states * TCH/F - - - - - -
network
- bts 0
- handover2 min-free-slots tch/f 4
- handover2 min-free-slots tch/h 4
- bts 1
- handover2 min-free-slots tch/f 4
- handover2 min-free-slots tch/h 4
+ handover2 min-free-slots tch/f 4
+ handover2 min-free-slots tch/h 4
meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
expect-no-chan
set-ts-use trx 0 0 states * TCH/F TCH/F - - - - -
diff --git a/tests/handover/test_balance_congestion_2.ho_vty b/tests/handover/test_balance_congestion_2.ho_vty
index 2e7fa5a27..9c8b7f9cf 100644
--- a/tests/handover/test_balance_congestion_2.ho_vty
+++ b/tests/handover/test_balance_congestion_2.ho_vty
@@ -4,10 +4,7 @@
create-n-bts 2
network
- bts 0
- handover2 min-free-slots tch/f 4
- bts 1
- handover2 min-free-slots tch/f 4
+ handover2 min-free-slots tch/f 4
codec tch/f FR
set-ts-use trx 0 0 states * TCH/F TCH/F TCH/F - - - -
set-ts-use trx 1 0 states * TCH/F - - - - - -
diff --git a/tests/handover/test_congestion.ho_vty b/tests/handover/test_congestion.ho_vty
index 4919d2012..13599ee49 100644
--- a/tests/handover/test_congestion.ho_vty
+++ b/tests/handover/test_congestion.ho_vty
@@ -5,15 +5,8 @@
create-n-bts 3
network
- bts 0
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
- bts 1
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
- bts 2
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
+ 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/F - TCH/HH - -
set-ts-use trx 1 0 states * TCH/F - - - TCH/H- - -
meas-rep lchan 0 0 1 0 rxlev 30 rxqual 0 ta 0 neighbors 20 1 20
diff --git a/tests/handover/test_no_congestion.ho_vty b/tests/handover/test_no_congestion.ho_vty
index 824d1d334..651d6482f 100644
--- a/tests/handover/test_no_congestion.ho_vty
+++ b/tests/handover/test_no_congestion.ho_vty
@@ -4,15 +4,8 @@
create-n-bts 3
network
- bts 0
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
- bts 1
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
- bts 2
- handover2 min-free-slots tch/f 2
- handover2 min-free-slots tch/h 2
+ 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 0 0 1 0 rxlev 30 rxqual 0 ta 0 neighbors 20 1 20