<p>fixeria <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18082">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">PCU: introduce f_shutdown() to ensure proper tear down<br><br>Most of existing test cases are built on top of the PCU interface<br>abstraction components (see PCUIF_Components.ttcn). This means<br>that during the test case execution, additional components are<br>running in parallel, among with the MTC (Main Test Component).<br><br>When a test case terminates, either normally or due to an error,<br>it may happen that the virtual BTS component is stopped before<br>the associated TDMA clock generator. In this situation, sending<br>a clock indication towards the stopped BTS component would<br>lead to a dynamic test case error.<br><br>Let's take the process of tear down under control, and ensure that<br>the clock generator is stopped first. To achieve that, every test<br>case needs to call f_shutdown() in case of an error, as well as<br>in case of the normal termination.<br><br>Note we cannot use the existing f_shutdown() from Misc_Helpers,<br>because doing 'all component.stop' does not gurantee that the<br>clock generator is stopped first, and I experienced at least<br>one DTE while trying to integrate it.<br><br>Change-Id: I6a859687d9605cc08c51ff44d946c279b79bedfa<br>Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com><br>---<br>M pcu/PCUIF_Components.ttcn<br>M pcu/PCU_Tests.ttcn<br>2 files changed, 142 insertions(+), 82 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/82/18082/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18082">change 18082</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18082"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6a859687d9605cc08c51ff44d946c279b79bedfa </div>
<div style="display:none"> Gerrit-Change-Number: 18082 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>