This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17234 ) Change subject: remsim: Add global guard timer to client+bankd tests ...................................................................... remsim: Add global guard timer to client+bankd tests Change-Id: I85d436a91d1c805f2fb66138ef7e2fb73107f2d1 --- M remsim/RSPRO_Server.ttcn 1 file changed, 10 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/remsim/RSPRO_Server.ttcn b/remsim/RSPRO_Server.ttcn index 5c9051c..25ec4d1 100644 --- a/remsim/RSPRO_Server.ttcn +++ b/remsim/RSPRO_Server.ttcn @@ -34,8 +34,15 @@ type component rspro_server_CT { var RSPRO_Server g_rspro_srv[NUM_SERVER]; port IPA_RSPRO_PT RSPRO_SRV[NUM_SERVER]; + timer g_rspro_srv_Tguard := 30.0; }; +private altstep as_rspro_srv_Tguard() runs on rspro_server_CT { +[] g_rspro_srv_Tguard.timeout { + setverdict(fail, "RSPRO Server global guard timer timeout"); + mtc.stop; + } +} altstep as_ignore_id_ack(integer i) runs on rspro_server_CT { [] RSPRO_SRV[i].receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_ID_ACK}) { repeat; } @@ -66,6 +73,9 @@ g_rspro_srv[i].ccm_pars.name := "Osmocom TTCN-3 RSPRO server simulator"; g_rspro_srv[i].rspro_id := rspro_id; + activate(as_rspro_srv_Tguard()); + g_rspro_srv_Tguard.start; + map(g_rspro_srv[i].vc_IPA:IPA_PORT, system:IPA_CODEC_PT); connect(g_rspro_srv[i].vc_IPA:IPA_RSPRO_PORT, self:RSPRO_SRV[i]); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17234 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: I85d436a91d1c805f2fb66138ef7e2fb73107f2d1 Gerrit-Change-Number: 17234 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200219/6bbed210/attachment.htm>