From c04c69e689a43e7afce3b773452cd2cf3d0773f2 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 3 Mar 2020 16:46:29 +0100 Subject: ggsn: Terminate immediately on pipong altstep failure Change-Id: I1ae66afc562c6bf968b0b3bfa9a254fac0bd7404 --- ggsn_tests/GGSN_Tests.ttcn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ggsn_tests') 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 */ -- cgit v1.2.3