Pau Espin
af0c61e06d
IPA_Emulation component was marked with the "alive" type recently, in
order to avoid race conditions leading to errors during tear down of the
test.
It turns out, the way "alive" keeps the component alive is by means of
not closing the sockets when the component is stopped. As a result,
TC_rsl_drop_counter test stopped working properly because it was
specting a TCP FIN to be sent to osmo-bsc when the component was
stopped.
In order to fix it, add a new CFG port to the IPA_Emulation component on
which one can operate. Add a a new method to tell the component to close
the socket.
Then, put that in BSC_Tests into a function which was actually unsued
until now, and use it in the test in order to have the specific logic
enclosed in a function helper.
Fixes:
|
||
---|---|---|
.. | ||
BSC_Tests.cfg | ||
BSC_Tests.default | ||
BSC_Tests.ttcn | ||
BSC_Tests_CBSP.ttcn | ||
BSC_Tests_LCLS.ttcn | ||
BSC_Tests_VAMOS.cfg | ||
BSC_Tests_VAMOS.ttcn | ||
MSC_ConnectionHandler.ttcn | ||
README.md | ||
README.txt | ||
expected-results.xml | ||
gen_links.sh | ||
osmo-bsc-vamos.cfg | ||
osmo-bsc.cfg | ||
osmo-stp.cfg | ||
regen_makefile.sh |
README.md
BSC_Tests.ttcn
- external interfaces
- A-bis side: RSL (emulates BTS-side client) (OML handled by osmo-bts-omldummy)
- A-side (emulates MSC-side)
- BSSAP/SCCP/M3UA (AoIP)
- BSSAP/SCCP/IPA (SCCPLite)
- MGW side: MGCP (emulates MGW side)
- VTY
- CTRL
- StatsD
{% dot bsc_tests.svg digraph G { graph [label="AoIP", labelloc=t, fontsize=30]; rankdir=LR; { rank=same; BTS; STP; }; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];
BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; BSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}
{% dot bsc_tests_sccplite.svg digraph G { graph [label="SCCPLite", labelloc=t, fontsize=30]; rankdir=LR; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];
BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> BSC [label="A BSSAP\nSCCP/IPA"]; } %}