Change in osmo-bsc[master]: test_penalty_timer.ho_vty: show lchan recovery

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Jul 13 23:22:24 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/24934 )


Change subject: test_penalty_timer.ho_vty: show lchan recovery
......................................................................

test_penalty_timer.ho_vty: show lchan recovery

Use recently added fake-time 'wait' command to show how the lchan in
LCHAN_ST_WAIT_AFTER_ERROR recovers as soon as timer X3111 has passed.

This prepares for also waiting for the penalty timeout to pass.

Related: SYS#5198
Change-Id: I8f7668b6d08a0dac9e90d2358955f9d5099d39fa
---
M tests/handover/test_penalty_timer.ho_vty
1 file changed, 14 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/34/24934/1

diff --git a/tests/handover/test_penalty_timer.ho_vty b/tests/handover/test_penalty_timer.ho_vty
index 22b9a95..9511b5e 100644
--- a/tests/handover/test_penalty_timer.ho_vty
+++ b/tests/handover/test_penalty_timer.ho_vty
@@ -3,6 +3,12 @@
 # Even though the cell is still better, handover will not be performed
 # due to penalty timer after handover failure
 
+network
+ # set the timeout for LCHAN_ST_WAIT_AFTER_ERROR
+ timer X3111 5
+ # set penalty timeout
+ handover2 penalty-time failed-ho 23
+
 create-n-bts 2
 set-ts-use trx 0 0 states * TCH/F - - - - - -
 meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
@@ -11,7 +17,15 @@
 ho-failed
 # first BTS still services the call:
 expect-ts-use trx 0 0 states * TCH/F - - - - - -
+
 # lchan 1 0 1 0 is in LCHAN_ST_WAIT_AFTER_ERROR because the handover failed:
 expect-ts-use trx 1 0 states * !     - - - - - -
+wait 4
+expect-ts-use trx 1 0 states * !     - - - - - -
+wait 1
+expect-ts-use trx 1 0 states * -     - - - - - -
+# back to UNUSED
+
+# No handover because the penalty timer is still running
 meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30
 expect-no-chan

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/24934
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I8f7668b6d08a0dac9e90d2358955f9d5099d39fa
Gerrit-Change-Number: 24934
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210713/36216174/attachment.htm>


More information about the gerrit-log mailing list