pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27294 )

Change subject: Start BSSGP_CT and NS_CT as alive-type component in all 
testsuites
......................................................................

Start BSSGP_CT and NS_CT as alive-type component in all testsuites

This was already done in PCU_Tests and Gbproxy_Tests, let's to it
everywhere.

Change-Id: I6e3b08710b4502e2b9805f7c9f7bd89f34e4085c
---
M fr-net/FRNET_Tests.ttcn
M fr/FR_Tests.ttcn
M sgsn/SGSN_Tests.ttcn
3 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/fr-net/FRNET_Tests.ttcn b/fr-net/FRNET_Tests.ttcn
index 614750f..0a6af59 100644
--- a/fr-net/FRNET_Tests.ttcn
+++ b/fr-net/FRNET_Tests.ttcn
@@ -88,8 +88,8 @@

 private function f_init_gb(inout GbInstance gb, charstring id, integer offset) 
runs on test_CT {
        var charstring id_idx := id & int2str(offset);
-       gb.vc_NS := NS_CT.create(id_idx & "-NSemu");
-       gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu");
+       gb.vc_NS := NS_CT.create(id_idx & "-NSemu") alive;
+       gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu") alive;
        connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
        gb.vc_NS.start(NSStart(mp_nsconfig[offset], id_idx));
        gb.vc_BSSGP.start(BssgpStart(gb.cfg, testcasename()));
diff --git a/fr/FR_Tests.ttcn b/fr/FR_Tests.ttcn
index 1e662fe..b7a56c3 100644
--- a/fr/FR_Tests.ttcn
+++ b/fr/FR_Tests.ttcn
@@ -89,8 +89,8 @@
 /* initialize one Gb interface */
 private function f_init_gb(inout GbInstance gb, charstring id, integer offset) 
runs on test_CT {
        var charstring id_idx := id & int2str(offset);
-       gb.vc_NS := NS_CT.create(id_idx & "-NSemu");
-       gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu");
+       gb.vc_NS := NS_CT.create(id_idx & "-NSemu") alive;
+       gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu") alive;
        connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
        gb.vc_NS.start(NSStart(mp_nsconfig[offset], id_idx));
        connect(self:BSSGP_PROC[offset], gb.vc_BSSGP:PROC);
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 3386f71..c29095f 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -257,8 +257,8 @@
 }

 private function f_init_gb(inout GbInstance gb, charstring id, integer offset) 
runs on test_CT {
-       gb.vc_NS := NS_CT.create(id & "-NS" & int2str(offset));
-       gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP" & int2str(offset));
+       gb.vc_NS := NS_CT.create(id & "-NS" & int2str(offset)) alive;
+       gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP" & int2str(offset)) alive;
        /* connect lower end of BSSGP emulation with NS upper port */
        connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27294
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6e3b08710b4502e2b9805f7c9f7bd89f34e4085c
Gerrit-Change-Number: 27294
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to