aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-09-26 19:29:38 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-09-26 19:29:38 +0200
commitde0d3a98cf7fb9800282071eb4da2e4594256501 (patch)
treeac806015efd95bfcbf1d90feca9b5106bcc7819d
parente881418ff47a2e7262d706b8aa282e6200ca6320 (diff)
pcu: Fail immediatelly in TC_n3105_max_t3195pespin/pcu
-rw-r--r--pcu/PCU_Tests.ttcn14
1 files changed, 10 insertions, 4 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 69174043..92ff7254 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -1955,7 +1955,6 @@ testcase TC_n3105_max_t3195() runs on RAW_PCU_Test_CT {
var integer N3105 := 0;
timer T_3195 := 1.0 + 0.1; /* 0.1: some extra time to avoid race conditions between test and IUT */
var integer num_poll_recv := 0;
- var template RlcmacDlBlock dl_block_exp;
/* Initialize NS/BSSGP side */
f_init_bssgp();
@@ -2041,10 +2040,17 @@ testcase TC_n3105_max_t3195() runs on RAW_PCU_Test_CT {
log("T_3195 timeout");
/* Done in alt, wait for pending RTS initiated previously in
* above case before continuing (expect empty block): */
- dl_block_exp := omit;
- BTS.receive(tr_PCUIF_DATA_PDTCH(nr.bts_nr,
+ alt {
+ [] BTS.receive(tr_PCUIF_DATA_PDTCH(nr.bts_nr,
+ tr_PCUIF_DATA(nr.trx_nr, nr.ts_nr, sapi := PCU_IF_SAPI_PDTCH),
+ omit)); /* DONE, continue after altstep. */
+ [] BTS.receive(tr_PCUIF_DATA_PDTCH(nr.bts_nr,
tr_PCUIF_DATA(nr.trx_nr, nr.ts_nr, sapi := PCU_IF_SAPI_PDTCH),
- dl_block_exp));
+ tr_RLCMAC_DL_DUMMY_CTRL)) {
+ setverdict(fail, "Rx unexpected DUMMY message, expedcted empty data block");
+ f_shutdown(__BFILE__, __LINE__);
+ }
+ }
}
[] BTS.receive {
setverdict(fail, "Unexpected BTS message");