Change in osmo-ttcn3-hacks[master]: bsc: fix TC_cm_serv_rej

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Wed Dec 1 12:40:33 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26433 )


Change subject: bsc: fix TC_cm_serv_rej
......................................................................

bsc: fix TC_cm_serv_rej

Calling BSSAP.send() directly after f_create_chan_and_exp() seems to be
racy for an unknown reason. Adding a sleep after f_create_chan_and_exp()
makes the test pass reliably.

Related: SYS#4878
Change-Id: Iad30319a7e9e726d006c9934ed2eb48f886811a9
---
M bsc/BSC_Tests.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 22df0cb..be7dac8 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -10534,6 +10534,7 @@
 private function f_TC_cm_serv_rej(charstring id) runs on MSC_ConnHdlr
 {
 	f_create_chan_and_exp();
+	f_sleep(1.0);
 	BSSAP.send(ts_PDU_DTAP_MT(ts_CM_SERV_REJ('02'O), '00'O));
 	f_sleep(1.0);
 }

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iad30319a7e9e726d006c9934ed2eb48f886811a9
Gerrit-Change-Number: 26433
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211201/0964b175/attachment.htm>


More information about the gerrit-log mailing list