Osmocom test suites in TTCN-3 (Eclipse Titan) https://osmocom.org/projects/core-testing-infra
Go to file
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
COMMON initial chekin of code received by Ericsson on 20170410 2017-04-12 12:13:44 +02:00
ROHC_CNL113426_LATEST import Ericsson NS, ISUP, ROHC and SNDCP modules for TITAN 2017-07-25 08:23:52 +02:00
SCCP_Test WIP: gen_links.sh + regen_makefile.sh for make SCCP_Tests 2020-01-12 11:48:58 +01:00
asn-test HNBAP, RUA and RANAP protocol codecs 2019-04-25 20:07:11 +00:00
bin Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
bsc CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
bsc-nat CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
bts CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
ccid CCID_Tests: Fix USB VendorID 2020-07-30 22:12:30 +02:00
deps deps/BSSGP: Use specific commit hash 2021-01-05 16:26:07 +01:00
doc add ttcn3 test suites slides from OsmoDevCon 2018 2018-09-16 12:39:51 +02:00
fr FR/FRNET: Introduce simplistic simulation of UEs 2020-11-16 20:32:20 +01:00
fr-net FR/FRNET: Introduce simplistic simulation of UEs 2020-11-16 20:32:20 +01:00
gbproxy Fix race during shutdown 2021-01-11 14:20:55 +00:00
ggsn_tests ggsn: Terminate immediately on pipong altstep failure 2020-03-03 16:48:34 +01:00
hlr CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
lapdm Split templates in RLCMAC_{CSN1_}Types into their own _Templates file 2020-04-29 19:07:38 +02:00
library rlcmac: Add template to match receival of Dl Ctrl message 2021-01-11 13:54:30 +00:00
mgw update expected results 2020-10-01 06:48:55 +02:00
mme regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS 2020-10-04 21:09:11 +02:00
msc CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
pcu pcu: Assign TLLI_UNUSED instead of string literal 2021-01-11 13:54:48 +00:00
pgw pgw: Add support for PCRF emulation (CCR/CCA) 2020-04-26 22:08:34 +02:00
remsim RSPRO_Server: Ignore any ID RESP messages from the client for now 2020-12-01 12:06:33 +00:00
sccp sccp: Introduce test TC_it_avoids_tiar 2020-01-21 14:22:20 +01:00
selftest library: Add template helpers for AoIP Transport Layer Address 2020-09-07 08:05:28 +00:00
sgsn SGSN_Tests: test RIM message passing 2021-01-05 15:30:19 +00:00
simtrace Initial SIMTRACE testsuite 2020-04-01 10:16:02 +00:00
sip CTRL: Introduce support to run osmocom CTRL server 2021-01-07 15:06:39 +01:00
smlc smlc: remove temp dev artifact that skips most tests 2020-10-21 00:50:26 +02:00
stp stp: wait until IPA handshake is done in f_connect_ipa 2020-10-03 08:16:56 +00:00
sysinfo library/GSM_RR_Types: add minimalistic AssignmentCommand 2020-09-01 14:43:33 +07:00
.gitignore gitignore: Add *.d files 2020-03-03 16:48:34 +01:00
.gitreview Add git-review config 2017-12-13 11:15:48 +01:00
Common.cfg Common.cfg: Always log VEERDICTOP on Console 2020-10-10 18:15:37 +02:00
Makefile Add initial TTCN3 test for GbProxy 2020-10-15 10:51:00 +02:00
compare-results.py compare_results.py: use ansi colors 2020-05-19 19:25:35 +00:00
gen_links.sh.inc Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00
log_merge.sh Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00
mask_expected_results.sh add mask_expected_results.sh 2018-04-11 19:32:01 +02:00
regen-makefile.sh regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS 2020-10-04 21:09:11 +02:00
rmlinks.sh Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
start-testsuite.sh start-testsuite.sh: allow overriding TTCN3_BIN_DIR 2020-05-29 06:10:42 +00:00
ttcn3-dumpcap-start.sh ttcn3-dumpcap-start.sh: Always capture lo interface 2020-12-12 16:28:30 +01:00
ttcn3-dumpcap-stop.sh gbproxy: Properly capture HDLC/FR traffic in addition to ethernet 2020-12-11 15:32:08 +01:00
ttcn3-tcpdump-start.sh ttcn3-tcpdump-start: Fix path of setcap 2020-12-11 15:34:42 +01:00
ttcn3-tcpdump-stop.sh fixup ttcn3-tcpdump-stop.sh: add flag '--force' to gzip 2020-07-13 05:55:17 +07:00
update_expected_results_from_jenkins.sh Put build / run scripts under Apache 2.0 license 2019-06-21 09:34:09 +00:00