diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-10-04 17:30:21 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-10-05 11:14:58 +0000 |
commit | 35677870c58f15eaae249ee81895aebcfa1bea1c (patch) | |
tree | 40f53a67c2a99e4edf4bea116c3b5bdf6ff574ed /bts | |
parent | e0b91a764a3d9198c7cbc86b06dcb4fcb13abaaf (diff) |
BTS_Tests.ttcn: fix: expect RSL_MEAS_RES messages
Since both Calypso PHY and trxcon (since OS#2988 is fixed) are
always sending the Measurement Reports in dedicated mode, the
test cases should expect to 'see' the RSL_MEAS_RES messages,
and ignore them if they are out of the testing scope.
This change makes the following test cases pass:
- TC_rll_est_ind,
- TC_rll_rel_ind_DCCH_0,
- TC_rll_rel_ind_DCCH_3,
- TC_rll_rel_ind_ACCH_0,
- TC_rll_rel_ind_ACCH_3,
by adding the 'lazy' version of as_meas_res() alt-step.
Change-Id: I34227b981f76377c338fad4ff9560ba2042abce4
Diffstat (limited to 'bts')
-rw-r--r-- | bts/BTS_Tests.ttcn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index f89025fb..61fe1a7b 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -3396,6 +3396,8 @@ private function f_TC_rll_est_ind(charstring id) runs on ConnHdlr { mtc.stop; } } + /* We also expect to receive the measurements */ + [] as_meas_res(verify_meas := false); [tc.exp] T.timeout { setverdict(fail, "Timeout waiting for EST IND"); mtc.stop; @@ -3560,6 +3562,8 @@ private function f_TC_rll_rel_ind(charstring id) runs on ConnHdlr { [] RSL.receive(tr_RSL_REL_IND(g_chan_nr, tc.link_id)) { setverdict(pass); } + /* We also expect to receive the measurements */ + [] as_meas_res(verify_meas := false); } /* release the channel */ |