osmo-msc/tests/msc_vlr
Neels Hofmeyr d6a769b51c trans_free: tear down conn when last transaction is done
In trans_free(), call subscr_conn_release_when_unused(), so that we are sure to
clean up after the last transaction is done.

This fixes an error where a conn lingered after a CC failure, because that code
path forgot to trigger cleanup.

Rationale: so far we were triggering the release check after each DTAP dispatch
(compl_l3 and "normal" DTAP), which is sufficient for properly closed
transactions. We also need a check for when a timeout clears an erratic trans.

Adjust test expectation of test_call_mo_to_unknown_timeout to show that the
error is now fixed.

msc_vlr_test_reject_concurrency now sees an additional release checking event
when the SMS transaction is done, which is expected and does not affect the
test otherwise.

Related: OS#2779
Change-Id: I46ff2e9b09b67e4e0d79cccf8c04936f17281fcb
2018-03-22 04:35:28 +00:00
..
Makefile.am msc_vlr_tests: improve cipher mode coverage 2018-03-02 17:00:37 +01:00
msc_vlr_test_authen_reuse.c msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00
msc_vlr_test_authen_reuse.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_authen_reuse.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_call.c trans_free: tear down conn when last transaction is done 2018-03-22 04:35:28 +00:00
msc_vlr_test_call.err trans_free: tear down conn when last transaction is done 2018-03-22 04:35:28 +00:00
msc_vlr_test_call.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_authen.c cosmetic: vlr_auth: log decision to send UMTS or GSM AKA challenge 2018-03-15 14:24:57 +00:00
msc_vlr_test_gsm_authen.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_gsm_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_ciph.c msc_vlr_tests: add test_a5_3_not_supported 2018-03-10 23:21:34 +01:00
msc_vlr_test_gsm_ciph.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_gsm_ciph.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_hlr_reject.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_hlr_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_ms_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_no_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.err trans_free: tear down conn when last transaction is done 2018-03-22 04:35:28 +00:00
msc_vlr_test_reject_concurrency.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.c msc_vlr_tests: make all test functions static 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_rest.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_umts_authen.c msc_vlr_test_umts_authen: test response with only SRES half of RES 2018-03-10 22:23:13 +01:00
msc_vlr_test_umts_authen.err cosmetic: rename conn_fsm "bump" event to "release_when_unused" 2018-03-15 14:24:57 +00:00
msc_vlr_test_umts_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_tests.c cosmetic: msc_vlr_tests: enable CC logging in debug 2018-03-15 14:24:57 +00:00
msc_vlr_tests.h msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking 2018-03-10 20:58:20 +00:00