diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-02-22 17:04:06 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-02-24 11:47:43 +0000 |
commit | 835fd300f827504bc58bfdc8431ecdff6de53815 (patch) | |
tree | a14443045e2c61c3a1c80b4dde3907b271994bb7 | |
parent | 494e8b3e55aadc570783dd7fa69bdfb4889800f7 (diff) |
pcu: Start PCUIF related components as alive-type
This should prevent following race conditions at shutdown:
"""
131 - Terminating component type PCUIF_Components.RAW_PCU_BTS_CT.
...
PCUIF_Components.ttcn:642 Dynamic test case error: Sending data on the connection of port BTS to 131:PCUIF failed. (Broken pipe)
"""
Change-Id: I17b2cfed2edbea7427e608380059bb1b422ca600
-rw-r--r-- | pcu/PCU_Tests.ttcn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn index 01113abc..0a67486b 100644 --- a/pcu/PCU_Tests.ttcn +++ b/pcu/PCU_Tests.ttcn @@ -279,12 +279,12 @@ runs on RAW_PCU_Test_CT { activate(as_Tguard_RAW()); /* Init PCU interface component */ - vc_PCUIF := RAW_PCUIF_CT.create("PCUIF"); + vc_PCUIF := RAW_PCUIF_CT.create("PCUIF") alive; connect(vc_PCUIF:MTC, self:PCUIF); map(vc_PCUIF:PCU, system:PCU); /* Create one BTS component (we may want more some day) */ - vc_BTS := RAW_PCU_BTS_CT.create("BTS"); + vc_BTS := RAW_PCU_BTS_CT.create("BTS") alive; connect(vc_BTS:PCUIF, vc_PCUIF:BTS); connect(vc_BTS:TC, self:BTS); |