From 434d3ae2ed5f1ad7c101aa100287658bed99aae6 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 15 Jan 2021 10:22:11 +0100 Subject: [PATCH] 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 --- ...st_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty b/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty index 1273d7524..bc2c8840e 100644 --- a/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty +++ b/tests/handover/test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty @@ -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