Change in osmo-ttcn3-hacks[master]: ggsn: Terminate immediately on pipong altstep failure

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Mar 3 15:53:37 UTC 2020


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


Change subject: ggsn: Terminate immediately on pipong altstep failure
......................................................................

ggsn: Terminate immediately on pipong altstep failure

Change-Id: I1ae66afc562c6bf968b0b3bfa9a254fac0bd7404
---
M ggsn_tests/GGSN_Tests.ttcn
1 file changed, 7 insertions(+), 2 deletions(-)



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

diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 40506df..be0e565 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -14,6 +14,7 @@
 
 	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 @@
 			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 { setverdict(fail); };
+		[] T_default.timeout {
+			Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail,
+						"pinpong T_default timeout");
+		};
 	}
 
 	/* 'internet' in DNS encoding */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17333
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: I1ae66afc562c6bf968b0b3bfa9a254fac0bd7404
Gerrit-Change-Number: 17333
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200303/3d78af88/attachment.htm>


More information about the gerrit-log mailing list