aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-05-31 20:01:43 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-05-31 20:06:07 +0700
commit6c0644970afc93c4d5f86a176ac580dbdbefe319 (patch)
tree804878bc08256056c4a113102533f27f87d48759
parent31a88d49e36c596e3ab59e45b7d31c843ec874e4 (diff)
BTS_Tests: properly release DCCH in f_TC_acch_overpower()
Currently the TC_acch_overpower_* testcases are all passing without any sporadic failures. However, most of them start failing due to a DTE (some RSLEM related race condition) if I apply a patch [1] to trxcon removing its internal TDMA clock module. I don't know why this happens, but releasing the DCCH after executing all testcase steps in f_TC_acch_overpower() makes that DTE go away. Change-Id: I658e78ad8d4dc86403d22b5380ddd9a140f8c71c Related: [1] osmocom-bb.git Ic8a5b6277c6b16392026e0557376257d71c9d230 Related: OS#5500
-rw-r--r--bts/BTS_Tests.ttcn4
1 files changed, 4 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index d03843da..8d02c403 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -8656,6 +8656,10 @@ private function f_TC_acch_overpower(charstring id) runs on ConnHdlr {
setverdict(pass);
}
+
+ f_rsl_chan_deact();
+ f_L1CTL_DM_REL_REQ(L1CTL, g_chan_nr);
+ f_rslem_unregister(g_pars.trx_nr, g_chan_nr);
}
testcase TC_acch_overpower_rxqual_thresh() runs on test_CT {
var ConnHdlrPars pars;