diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-03 16:46:29 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-03-03 16:48:34 +0100 |
commit | c04c69e689a43e7afce3b773452cd2cf3d0773f2 (patch) | |
tree | 86f174c995a9ee9575dde4d1f351027ba93e38c1 /ggsn_tests | |
parent | 123ec855a0dc38e03d57a34e99d853f6a7410b8e (diff) |
ggsn: Terminate immediately on pipong altstep failure
Change-Id: I1ae66afc562c6bf968b0b3bfa9a254fac0bd7404
Diffstat (limited to 'ggsn_tests')
-rw-r--r-- | ggsn_tests/GGSN_Tests.ttcn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn index 40506dfa..be0e565f 100644 --- a/ggsn_tests/GGSN_Tests.ttcn +++ b/ggsn_tests/GGSN_Tests.ttcn @@ -14,6 +14,7 @@ module GGSN_Tests { import from General_Types all; import from Osmocom_Types all; + import from Misc_Helpers all; import from IPL4asp_PortType all; import from IPL4asp_Types all; import from GTP_CodecPort all; @@ -209,9 +210,13 @@ module GGSN_Tests { repeat; }; [not g_use_echo] GTPC.receive(tr_GTPC_PING(?)) { - setverdict(fail, "GTP Echo Req rceived but not enabled in VTY"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, + "GTP Echo Req rceived but not enabled in VTY"); + }; + [] T_default.timeout { + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, + "pinpong T_default timeout"); }; - [] T_default.timeout { setverdict(fail); }; } /* 'internet' in DNS encoding */ |