Change in osmo-ttcn3-hacks[master]: MSC_Tests: Reliably pass TC_cr_before_reset

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Aug 22 19:55:04 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10561 )

Change subject: MSC_Tests: Reliably pass TC_cr_before_reset
......................................................................

MSC_Tests: Reliably pass TC_cr_before_reset

I was able to reproduce the sporadic cr_before_reset failures by running
both osmo-{stp,msc}-master with --cpus 0.1. In that case the first test
run would fail for me because no BSSMAP RESET ACK was seen. Sleeping
some seconds before sending the messages will make sure all components
are connected.

Note: TC_cr_before_reset is the first test executed in control so this
seems to be why it sometimes fails in jenkins.

Change-Id: Id745470231950e0a284f8c231246d3719f7617cc
---
M msc/MSC_Tests.ttcn
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 42ad27c..4bdbc1d 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1765,6 +1765,8 @@
 
 	f_bssap_start(g_bssap[0]);
 
+	f_sleep(3.0);
+
 	/* Make a blind connection attemt, to trigger the deadlock condition */
 	BSSAP_DIRECT.send(ts_BSSAP_CONNECT_req(g_bssap[0].sccp_addr_peer, g_bssap[0].sccp_addr_own, 1, omit));
 

-- 
To view, visit https://gerrit.osmocom.org/10561
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id745470231950e0a284f8c231246d3719f7617cc
Gerrit-Change-Number: 10561
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180822/dac680c5/attachment.htm>


More information about the gerrit-log mailing list