BTS_Tests: tune waiting timeout in TC_rsl_ms_pwr_dyn_up
Since recenly, osmo-bts is using P_CON_INTERVAL=2 by default. This
means that the MS power loop gets triggered every 4th SACCH block
(1.92s), so we need more time to reach the maximim Tx power.
Change-Id: I9266f7284fcdb0afa3473f575640689e334e89a8
Related: osmo-bts.git I91c505447f68714239a4f033d4f06e91893df201
Related: OS#5517
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 3a3d7cc..06fe43b 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3042,8 +3042,10 @@
48.058 The maximum power to be used is indicated in the BS and MS Power elements respectively. */
RSL.send(ts_RSL_MS_PWR_CTRL_with_pp(g_chan_nr, pwr_max_var));
- /* wait, then check that our power level was reduced */
- timer T1 := 10.0;
+ /* By default, the MS power loop gets triggered every 4th SACCH block (1.92s).
+ * We need 9 * 4 dB steps to get from 0 dBm to 33 dBm, so 9 * 1.92s total.
+ * Add an extra offset to avoid race conditions: +1.92s. */
+ timer T1 := 9.0 * 1.92 + 1.92;
T1.start;
alt {
[] as_l1_sacch_l1h(l1h) { repeat; }