ggsn: Terminate immediately on pipong altstep failure

Change-Id: I1ae66afc562c6bf968b0b3bfa9a254fac0bd7404
changes/33/17333/1
Pau Espin 3 years ago
parent 123ec855a0
commit c04c69e689
  1. 9
      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 */

Loading…
Cancel
Save