osmo-bsc/tests/handover
Neels Hofmeyr 1d9e758e76 handover_test: also show when an lchan is busy
In expect-ts-use, indicate a busy lchan with letter '!'.

The code is a bit complex because of the choice made earlier to show two
TCH/H subslots as "TCH/HH", "TCH/H-" or "TCH/-H" depending on the
subslot states:
- show "-" as a shorthand for "all subslots UNUSED"
- show a "TCH/" prefix only when there is any "H" or "F" following, i.e.
  when any subslot is actually established
- if a subslot is busy (any other state besides ESTABLISHED and UNUSED),
  indicate the subslot as '!'.

The spectrum of reported state strings for TCH/F is:

 TCH/F  !  -

For TCH/H:

 TCH/HH TCH/H- TCH/-H TCH/H! TCH/!H !- -! -

The only current test affected is test_penalty_timer.ho_vty, where a
failed handover leaves an lchan in LCHAN_ST_WAIT_AFTER_ERROR. Adjust
that test.

Rationale: I will soon add tests to verify the accurate timeout of a
handover2 penalty timer. While implementing, I noticed that immediate
retry of the handover ends up in timeslot 2, because timeslot 1 is still
in WAIT_AFTER_ERROR. Instead of working around that, I would like to
explicitly show the error state in the test -- it is an important
aspect.

Related: SYS#5198
Change-Id: I735ce7e2c3e0e450d3f76047d7e47691fe889cad
2021-07-15 09:28:18 +00:00
..
Makefile.am Support proto IPAC_PROTO_EXT_PCU BSC<->PCU 2021-06-30 08:13:37 +00:00
handover_test.c handover_test: also show when an lchan is busy 2021-07-15 09:28:18 +00:00
handover_tests.ok RES IND: add test_resource_indication.ho_vty 2021-07-11 20:48:36 +02:00
handover_tests.sh handover_tests.sh: update stdout/stderr only on capital -U arg 2021-01-19 10:50:41 +00:00
test_amr_tch_f_to_h.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_amr_tch_f_to_h_balance_congestion.ho_vty handover_test: cosmetic cfg simplifications in 5 tests 2021-01-05 23:27:26 +01:00
test_amr_tch_f_to_h_congestion.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_amr_tch_f_to_h_congestion_assignment.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_amr_tch_f_to_h_congestion_assignment_2.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_amr_tch_f_to_h_congestion_assignment_3.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_amr_tch_h_and_afs_bias.ho_vty hodec2: don't apply AFS bias to same-cell lchans 2021-06-18 09:40:27 +00:00
test_amr_tch_h_to_f_congestion.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_amr_tch_h_to_f_congestion_two_cells.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_amr_tch_h_to_f_rxlev.ho_vty hodec2: implement upgrade TCH/H -> TCH/F (without AFS bias) 2021-06-13 15:55:03 +00:00
test_amr_tch_h_to_f_rxlev_congested.ho_vty hodec2: implement upgrade TCH/H -> TCH/F (without AFS bias) 2021-06-13 15:55:03 +00:00
test_amr_tch_h_to_f_rxlev_oscillation.ho_vty hodec2: fix low rxlev tch/h<->tch/f oscillation 2021-06-29 22:24:24 +02:00
test_amr_tch_h_to_f_rxqual.ho_vty hodec2: implement upgrade TCH/H -> TCH/F (without AFS bias) 2021-06-13 15:55:03 +00:00
test_amr_tch_h_to_f_rxqual_congested.ho_vty hodec2: implement upgrade TCH/H -> TCH/F (without AFS bias) 2021-06-13 15:55:03 +00:00
test_amr_tch_h_to_f_rxqual_oscillation.ho_vty hodec2: fix low rxqual tch/h<->tch/f oscillation 2021-06-29 22:24:24 +02:00
test_balance_congestion.ho_vty handover_test: cosmetic cfg simplifications in 5 tests 2021-01-05 23:27:26 +01:00
test_balance_congestion_2.ho_vty handover_test: add lchan wildcards to meas-rep cmd 2021-01-12 09:36:12 +01:00
test_balance_congestion_by_percentage.ho_vty handover_test: enhance test_balance_congestion_by_percentage.ho_vty 2021-01-14 06:24:57 +00:00
test_balance_congestion_tchf_tchh.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_bs_power.ho_vty handover: apply meas report BS Power to RXLEV, fix ho oscillation 2021-06-05 14:35:16 +00:00
test_congestion.ho_vty handover_test: add lchan wildcards to meas-rep cmd 2021-01-12 09:36:12 +01:00
test_congestion_favor_best_target_rxlev.ho_vty handover_test: add test_congestion_favor_best_target_rxlev.ho_vty 2021-01-05 23:27:26 +01:00
test_congestion_intra_vs_inter_cell.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_congestion_no_oscillation.ho_vty hodec2: fix congestion oscillation bug 2021-01-12 09:36:12 +01:00
test_congestion_no_oscillation2.ho_vty hodec2: fix congestion oscillation bug 2021-01-12 09:36:12 +01:00
test_disabled_ho_and_as.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_dyn_ts_amr_tch_f_to_h_congestion_assignment.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_dyn_ts_amr_tch_f_to_h_congestion_assignment_2.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_dyn_ts_amr_tch_h_to_f_congestion_assignment_2.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_dyn_ts_balance_congestion.ho_vty hodec2: fix congestion balancing on dyn TS 2021-01-19 11:49:07 +01:00
test_dyn_ts_congestion_tch_f_vs_tch_h.ho_vty hodec2: fix congestion resolution on dyn TS 2021-01-19 11:49:07 +01:00
test_dyn_ts_congestion_tch_f_vs_tch_h_2.ho_vty add test_dyn_ts_congestion_tch_f_vs_tch_h_2.ho_vty 2021-01-19 11:49:07 +01:00
test_dyn_ts_favor_half_used_tch_h_as_target.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_dyn_ts_favor_moving_half_used_tch_h.ho_vty hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
test_ho_to_better_cell.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_ho_to_better_cell_2.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_hysteresis.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_insufficient_measurements.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_keep_efr_codec.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_keep_fr_codec.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_keep_hr_codec.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_max_handovers.ho_vty handover_test: fix naming/wording: 'handover-req' should be 'handover-cmd' 2021-05-27 17:06:21 +02:00
test_max_ta.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_min_rxlev_vs_congestion.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_min_rxlev_vs_hysteresis.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_neighbor_congested.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_neighbor_full.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_no_congestion.ho_vty handover_test: add lchan wildcards to meas-rep cmd 2021-01-12 09:36:12 +01:00
test_penalty_timer.ho_vty handover_test: also show when an lchan is busy 2021-07-15 09:28:18 +00:00
test_resource_indication.ho_vty RES IND: pick lchan with least interference 2021-07-11 21:14:51 +02:00
test_rxqual.ho_vty handover_test: add 'meas-rep repeat N' 2021-01-05 23:27:26 +01:00
test_rxqual_vs_congestion.ho_vty handover_test: add 'meas-rep repeat N' 2021-01-05 23:27:26 +01:00
test_stay_in_better_cell.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_stay_in_better_cell_2.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00
test_story.ho_vty handover_test: rename test scripts from numbers to names 2020-12-23 01:59:08 +00:00