<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24934">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">test_penalty_timer.ho_vty: show lchan recovery<br><br>Use recently added fake-time 'wait' command to show how the lchan in<br>LCHAN_ST_WAIT_AFTER_ERROR recovers as soon as timer X3111 has passed.<br><br>This prepares for also waiting for the penalty timeout to pass.<br><br>Related: SYS#5198<br>Change-Id: I8f7668b6d08a0dac9e90d2358955f9d5099d39fa<br>---<br>M tests/handover/test_penalty_timer.ho_vty<br>1 file changed, 14 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/34/24934/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/handover/test_penalty_timer.ho_vty b/tests/handover/test_penalty_timer.ho_vty</span><br><span>index 22b9a95..9511b5e 100644</span><br><span>--- a/tests/handover/test_penalty_timer.ho_vty</span><br><span>+++ b/tests/handover/test_penalty_timer.ho_vty</span><br><span>@@ -3,6 +3,12 @@</span><br><span> # Even though the cell is still better, handover will not be performed</span><br><span> # due to penalty timer after handover failure</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+network</span><br><span style="color: hsl(120, 100%, 40%);">+ # set the timeout for LCHAN_ST_WAIT_AFTER_ERROR</span><br><span style="color: hsl(120, 100%, 40%);">+ timer X3111 5</span><br><span style="color: hsl(120, 100%, 40%);">+ # set penalty timeout</span><br><span style="color: hsl(120, 100%, 40%);">+ handover2 penalty-time failed-ho 23</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> create-n-bts 2</span><br><span> set-ts-use trx 0 0 states * TCH/F - - - - - -</span><br><span> meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30</span><br><span>@@ -11,7 +17,15 @@</span><br><span> ho-failed</span><br><span> # first BTS still services the call:</span><br><span> expect-ts-use trx 0 0 states * TCH/F - - - - - -</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> # lchan 1 0 1 0 is in LCHAN_ST_WAIT_AFTER_ERROR because the handover failed:</span><br><span> expect-ts-use trx 1 0 states * !     - - - - - -</span><br><span style="color: hsl(120, 100%, 40%);">+wait 4</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * !     - - - - - -</span><br><span style="color: hsl(120, 100%, 40%);">+wait 1</span><br><span style="color: hsl(120, 100%, 40%);">+expect-ts-use trx 1 0 states * -     - - - - - -</span><br><span style="color: hsl(120, 100%, 40%);">+# back to UNUSED</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# No handover because the penalty timer is still running</span><br><span> meas-rep lchan 0 0 1 0 rxlev 20 rxqual 0 ta 0 neighbors 30</span><br><span> expect-no-chan</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24934">change 24934</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/24934"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8f7668b6d08a0dac9e90d2358955f9d5099d39fa </div>
<div style="display:none"> Gerrit-Change-Number: 24934 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>