fixate test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty

The test shows a cascade of failures. When we fix the first failure, it
will change the sequence of events that follow after that. But it will
still be interesting to evaluate all the situations currently shown.

Hence fixate each stage's initial situation, by duplicating the
expect-ts-use with an identical set-ts-use. Then, when each individual
scenario gets fixed, subsequent scenarios still remain unchanged.

Change-Id: Ifeaec39ecb64b476ff1438cf987ba0403489c43b
This commit is contained in:
Neels Hofmeyr 2021-01-15 10:22:11 +01:00
parent 3c7bc7aa1e
commit 434d3ae2ed
1 changed files with 24 additions and 0 deletions

View File

@ -25,6 +25,12 @@ expect-ho from lchan 0 0 1 0 to lchan 1 0 5 0
expect-ts-use trx 0 0 states * - - - pdch pdch pdch *
expect-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/F pdch *
###
set-ts-use trx 0 0 states * - - - pdch pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/HH TCH/F pdch *
meas-rep lchan * * * * rxlev 40 rxqual 0 ta 0 neighbors 30
congestion-check
@ -34,12 +40,24 @@ expect-ho from lchan 1 0 4 1 to lchan 1 0 6 0
expect-ts-use trx 0 0 states * - - - pdch pdch pdch *
expect-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/H- TCH/F TCH/F *
###
set-ts-use trx 0 0 states * - - - pdch pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/H- TCH/F TCH/F *
congestion-check
# more FAIL: TCH/H moves to worse bts 0 due to congestion
expect-ho from lchan 1 0 4 0 to lchan 0 0 4 0
expect-ts-use trx 0 0 states * - - - TCH/H- pdch pdch *
expect-ts-use trx 1 0 states * TCH/F TCH/F TCH/F pdch TCH/F TCH/F *
###
set-ts-use trx 0 0 states * - - - TCH/H- pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F pdch TCH/F TCH/F *
congestion-check
expect-no-chan
@ -53,6 +71,12 @@ expect-ho from lchan 0 0 4 0 to lchan 1 0 4 0
expect-ts-use trx 0 0 states * - - - pdch pdch pdch *
expect-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F TCH/F *
###
set-ts-use trx 0 0 states * - - - pdch pdch pdch *
set-ts-use trx 1 0 states * TCH/F TCH/F TCH/F TCH/F TCH/F TCH/F *
congestion-check
expect-no-chan
# Stable situation now only because TCH/F has min-free-slots set to 0