Vadim Yanitskiy has uploaded this change for review. ( 
https://gerrit.osmocom.org/11227


Change subject: BTS_Tests.ttcn: fix: expect RSL_MEAS_RES messages
......................................................................

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
---
M bts/BTS_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/27/11227/1

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 */

--
To view, visit https://gerrit.osmocom.org/11227
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I34227b981f76377c338fad4ff9560ba2042abce4
Gerrit-Change-Number: 11227
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to