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


Change subject: WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing
......................................................................

WIP: sgsn: Fix TC_attach_timeout_after_pdp_act failing

Somehow haven't yet managed to run my local code on docker-playground due
to changes in docker-playground a few months ago
(I think; it's kind of hard to tell because there are now multiple places
in the repo specifying a URL for osmo-ttcn3-hacks.. I was pretty sure I had
made the right changes everywhere to point docker-playground to my local copy),
or,
this fix doesn't work and I'm currently clueless (because I've seen other tests 
do
the same; the problem is that the timer timeout event seems to be causing
the test to fail, although I need the timeout as a passing condition).

Change-Id: Ibaf2134247153471bd45d7a7f91155294c6c6de5
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 23 insertions(+), 1 deletion(-)



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

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 7cdf72c..193da7d 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1063,7 +1063,9 @@
                [] BSSGP[ran_index].receive(tr_GMM_ATTACH_ACCEPT('001'B, ?, ?)) 
{
                        setverdict(fail, "Received ", gmm_attach_repeats + 1, 
"th ATTACH ACCEPT")
                }
-               [] t_receive_GMM_ATTACH_ACCEPT.timeout { }
+               [] t_receive_GMM_ATTACH_ACCEPT.timeout {
+                       setverdict(pass)
+               }
        }

        setverdict(pass);
@@ -1073,6 +1075,7 @@
        var BSSGP_ConnHdlr vc_conn;
        f_init();
        vc_conn := f_start_handler(refers(f_TC_attach_timeout_after_pdp_act), 
testcasename(), g_gb, 21);
+       vc_conn.done;
        f_cleanup();
 }


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

Reply via email to