osmo-ttcn3-hacks/gbproxy
Daniel Willmann 491af2a33e Fix race during shutdown
To avoid a dynamic test case error we need to prevent messages arriving on
unconnected ports. Waiting some time before stopping components ensures that
any messages "in flight" will be delivered to the port before the component
is shutdown and disconnected.

It would be far nicer to mark a testresult "final" and ignore such
errors on shutdown, but I don't think it's possible in TTCN3.

This fixes TC_fc_bvc on my laptop which consistently failed with a DTE
before.

Change-Id: I98928f24745125642225681d13bf2e78691e9747
Related: SYS#5115, OS#4518
2021-01-11 14:20:55 +00:00
..
GBProxy_Tests.cfg gbproxy: Enable IP-SNS towards SGSN 2021-01-11 13:11:04 +00:00
GBProxy_Tests.default gbproxy: Properly capture HDLC/FR traffic in addition to ethernet 2020-12-11 15:32:08 +01:00
GBProxy_Tests.fr.cfg gbproxy: Enable IP-SNS towards SGSN 2021-01-11 13:11:04 +00:00
GBProxy_Tests.ttcn Fix race during shutdown 2021-01-11 14:20:55 +00:00
README.md Add initial TTCN3 test for GbProxy 2020-10-15 10:51:00 +02:00
gen_links.sh gbproxy: Include support for NS over Frame Relay 2020-11-17 17:42:23 +01:00
osmo-gbproxy.cfg gbproxy: Enable IP-SNS towards SGSN 2021-01-11 13:11:04 +00:00
osmo-gbproxy.fr.cfg gbproxy: Enable IP-SNS towards SGSN 2021-01-11 13:11:04 +00:00
regen_makefile.sh gbproxy: /bin/sh cannot do "FILES+=", use /bin/bash 2020-11-18 12:36:42 +01:00

README.md

GBProxy_Tests.ttcn

  • external interfaces
    • Gb (emulates PCU side NS/BSSGP)
    • Gb (emulates SGSN side NS/BSSGP)
    • VTY

{% dot gbproxy_tests.svg digraph G { rankdir=LR; GBP [label="IUT\nosmo-gbproxy",shape="box"]; ATS [label="ATS\nGBProxy_Tests.ttcn"];

ATS -> GBP [label="Gb (from SGSN)"]; GBP -> ATS [label="Gb (from PCU)"]; ATS -> SGSN [label="VTY"]; } %}