pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27740 )


Change subject: GTPv2_Emulation: Increase reset_all_stats timeout
......................................................................

GTPv2_Emulation: Increase reset_all_stats timeout

Release of 256 tuns + threads takes quite a reasonable amount of time.
Let's increase the timeout since reset_all_state can take around 10
seconds sometimes.

Related: OS#5523
Change-Id: Ie01e07bd698cb5c386f757f4ec315f4892ad61cb
---
M library/GTPv2_Emulation.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/40/27740/1

diff --git a/library/GTPv2_Emulation.ttcn b/library/GTPv2_Emulation.ttcn
index f07afcb..5bb3b1e 100644
--- a/library/GTPv2_Emulation.ttcn
+++ b/library/GTPv2_Emulation.ttcn
@@ -353,9 +353,9 @@
 }

 private function f_uecups_xceive(template (value) PDU_UECUPS tx,
-                               template PDU_UECUPS rx_t := ?)
+                               template PDU_UECUPS rx_t := ?, float time_out 
:= 10.0)
 runs on GTPv2_Emulation_CT  return PDU_UECUPS {
-       timer T := 10.0;
+       timer T := time_out;
        var UECUPS_RecvFrom mrf;

        UECUPS.send(t_UECUPS_Send(g_uecups_conn_id, tx));
@@ -399,7 +399,7 @@
                g_uecups_conn_id := res.connId;

                /* clear all tunnel state in the daemon at start */
-               f_uecups_xceive({reset_all_state := {}}, 
{reset_all_state_res:=?});
+               f_uecups_xceive({reset_all_state := {}}, 
{reset_all_state_res:=?}, 30.0);
        }

        /* make sure we always pass incoming UECUPS indications whenever 
receiving fom the UECUPS port */

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27740
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: Ie01e07bd698cb5c386f757f4ec315f4892ad61cb
Gerrit-Change-Number: 27740
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to