Change in osmo-ttcn3-hacks[master]: pcu: Fix PCU_Tests_RAW_SNS.TC_pcuif_rach

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Mar 15 21:42:44 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13289 )

Change subject: pcu: Fix PCU_Tests_RAW_SNS.TC_pcuif_rach
......................................................................

pcu: Fix PCU_Tests_RAW_SNS.TC_pcuif_rach

Change-Id: Ifb19e68a4b2b3250cdc6079dcd7f42656c57cee0
---
M pcu/PCU_Tests_RAW_SNS.ttcn
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pcu/PCU_Tests_RAW_SNS.ttcn b/pcu/PCU_Tests_RAW_SNS.ttcn
index c179f07..cc3cb5b 100644
--- a/pcu/PCU_Tests_RAW_SNS.ttcn
+++ b/pcu/PCU_Tests_RAW_SNS.ttcn
@@ -254,8 +254,15 @@
 	PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
 }
 
+altstep as_pcu_activate() runs on RAW_PCU_CT {
+	var PCUIF_send_data sd;
+	[] PCU.receive(t_SD_PCUIF(g_pcu_conn_id,  tr_PCUIF_ACT_REQ(?, ?, ?))) -> value sd { repeat; }
+
+}
+
 testcase TC_pcuif_rach() runs on RAW_Test_CT {
 	f_sns_bringup_1c1u();
+	activate(as_pcu_activate());
 
 	f_pcuif_tx(ts_PCUIF_RACH_IND(bts_nr:=0, ra:=23, is_11bit:=0, burst_type:=BURST_TYPE_0,
 				     fn:=42, arfcn:=871, qta:=0));

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb19e68a4b2b3250cdc6079dcd7f42656c57cee0
Gerrit-Change-Number: 13289
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190315/1193daae/attachment.html>


More information about the gerrit-log mailing list