ff8a9f272d
Some tests may stop without cleaning up the CBSP state. Avoid affecting subsequent tests by clearing the state for each f_cbsp_init_server(). Some ETWS CMD may still be left in the RSL queue (from the time period passing between a stopped test and the next test starting up), so clear all RSL ports. To be able to do so, move f_cbsp_reset_bss() to the cbsp_test_CT, from where it can access both CBSP and IPA_RSL[] ports. All current callers are on cbsp_test_CT anyway. This patch should fix TC_cbsp_emerg_write_bts_cgi_cchan and TC_cbsp_emerg_write_bts_cgi_cchan_disable, which so far break because of leftover ETWS CMDs in the RSL queue from the preceding test run. Change-Id: If7400a6624bb6dd9cacbcc733bdeba102d19e29c |
||
---|---|---|
.. | ||
BSC_Tests.cfg | ||
BSC_Tests.default | ||
BSC_Tests.ttcn | ||
BSC_Tests_CBSP.ttcn | ||
BSC_Tests_LCLS.ttcn | ||
MSC_ConnectionHandler.ttcn | ||
README.md | ||
README.txt | ||
expected-results.xml | ||
gen_links.sh | ||
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"]; } %}