Change in osmo-ttcn3-hacks[master]: PCU: make f_bssgp_establish() run on BSSGP_Client_CT

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 27 11:17:52 UTC 2019


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

Change subject: PCU: make f_bssgp_establish() run on BSSGP_Client_CT
......................................................................

PCU: make f_bssgp_establish() run on BSSGP_Client_CT

This means it can be used in different/other scenarios, e.g.
with tests that use PCUIF directly.

Change-Id: I1aa5dc090aac78a85a85ac190343befb0199a093
---
M pcu/PCU_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index b18b999..80a1bd1 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -195,10 +195,9 @@
 }
 
 /* Establish BSSGP connection to PCU */
-function f_bssgp_establish() runs on dummy_CT {
+function f_bssgp_establish() runs on BSSGP_Client_CT {
 	timer T:= 10.0;
 
-	f_init();
 	T.start
 	alt {
 	[] BSSGP[0].receive(t_BssgpStsInd(?, ?, BVC_S_UNBLOCKED)) { }
@@ -386,6 +385,7 @@
 
 testcase TC_nsem() runs on dummy_CT {
 
+	f_init();
 	f_bssgp_establish();
 
 	while (true) {

-- 
To view, visit https://gerrit.osmocom.org/13382
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: I1aa5dc090aac78a85a85ac190343befb0199a093
Gerrit-Change-Number: 13382
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/20190327/0cb0fcdb/attachment.html>


More information about the gerrit-log mailing list