pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38952?usp=email )


Change subject: bsc: Fix missing teardown in 
TC_ho_in_fail_msc_clears_after_ho_detect
......................................................................

bsc: Fix missing teardown in TC_ho_in_fail_msc_clears_after_ho_detect

Missing handling of teardown messages made the test fail sporadically
due to ttcn3 side already closing the SCCP connection when it was still
expected to receive messages.

Change-Id: I492607aca0e42a823836f4a714ea818c5a897855
---
M bsc/BSC_Tests.ttcn
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/52/38952/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 83389a6..1badaa5 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -6962,7 +6962,13 @@
        BSSAP.send(ts_BSSMAP_ClearCommand(cause));

        f_expect_dlcx_conns();
+       RSL.receive(tr_RSL_DEACT_SACCH(new_chan_nr));
+       RSL.receive(tr_RSL_RF_CHAN_REL(new_chan_nr));
+       RSL.send(ts_RSL_RF_CHAN_REL_ACK(new_chan_nr));
+       f_rslem_unregister(0, new_chan_nr);
+
        BSSAP.receive(tr_BSSMAP_ClearComplete);
+       BSSAP.receive(tr_BSSMAP_HandoverFailure);
        BSSAP.send(ts_MSC_CONN_PRIM_DISC_REQ);

        f_sleep(1.0);

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38952?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I492607aca0e42a823836f4a714ea818c5a897855
Gerrit-Change-Number: 38952
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to