osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43376?usp=email )


Change subject: hlr: increase guard timeout for some tests
......................................................................

hlr: increase guard timeout for some tests

When running the hlr testsuite against PyHSS in jenkins and the node is
under high load, we see these tests sporadically run into the 10s
timeout. Increase the timeout to fix this.

These tests create multiple subscribers and run test code against them.

Change-Id: I5c798257c77de5c448823b9e7442a43861cb03fd
---
M hlr/HLR_Tests.ttcn
1 file changed, 8 insertions(+), 8 deletions(-)



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

diff --git a/hlr/HLR_Tests.ttcn b/hlr/HLR_Tests.ttcn
index b263aa7..9057e27 100644
--- a/hlr/HLR_Tests.ttcn
+++ b/hlr/HLR_Tests.ttcn
@@ -1014,7 +1014,7 @@
        var HlrSubscriberList sl;
        var GSUP_PDU res;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);

        sl := f_gen_subs();
        f_start_handler_per_sub(refers(f_TC_gsup_sai_num_auth_vectors), sl);
@@ -1138,7 +1138,7 @@
        var HlrSubscriberList sl;
        var GSUP_PDUs res;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        f_start_handler_per_sub(refers(f_TC_gsup_ul), sl);

@@ -1215,7 +1215,7 @@
         */
        var HlrSubscriberList sl;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        if (m_hlr_impl == HLR_IMPL_OSMOCOM) {
                f_vty_config2(VTY, {"hlr", "ps"} , "no pdp-profiles default");
                f_vty_config2(VTY, {"hlr", "ps", "pdp-profiles default", 
"profile 1"}, "apn internet");
@@ -1314,7 +1314,7 @@
        var HlrSubscriberList sl;
        var GSUP_PDU res;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        f_start_handler_per_sub(refers(f_TC_gsup_purge_cs), sl);

@@ -1331,7 +1331,7 @@
 testcase TC_gsup_purge_ps() runs on test_CT {
        var HlrSubscriberList sl;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        f_start_handler_per_sub(refers(f_TC_gsup_purge_ps), sl);

@@ -1374,7 +1374,7 @@
        var HlrSubscriberList sl;
        var HLR_ConnHdlr vc_conn;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        for (var integer i := 0; i < sizeof(sl); i := i+1) {
                var HLR_ConnHdlrPars pars := valueof(t_Pars_sub(sl[i]));
@@ -1433,7 +1433,7 @@
        var HlrSubscriberList sl;
        var HLR_ConnHdlr vc_conn;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        for (var integer i := 0; i < sizeof(sl); i := i+1) {
                var HLR_ConnHdlrPars pars := valueof(t_Pars_sub(sl[i]));
@@ -1479,7 +1479,7 @@
        var HlrSubscriberList sl;
        var HLR_ConnHdlr vc_conn;

-       f_init(false);
+       f_init(false, guard_timeout := 30.0);
        sl := f_gen_subs();
        for (var integer i := 0; i < sizeof(sl); i := i+1) {
                var HLR_ConnHdlrPars pars := valueof(t_Pars_sub(sl[i]));

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

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I5c798257c77de5c448823b9e7442a43861cb03fd
Gerrit-Change-Number: 43376
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to