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
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index f89025f..61fe1a7 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -3396,6 +3396,8 @@
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 @@
[] 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 */